Skip to content

Commit

Permalink
Remove documentation from Unit shape
Browse files Browse the repository at this point in the history
This commit removes documentation from the Unit shape in the prelude.
This is done to encourage tagged union members that target the Unit
shape to add their own member-specific documentation rather than to rely
on inheriting documentation from the Unit shape.
  • Loading branch information
mtdowling committed Dec 6, 2021
1 parent 2463b45 commit 9d1df93
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions designs/operation-input-output-and-unit-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,6 @@ The `Unit` shape and `unitType` trait are modeled in the prelude as:
```
namespace smithy.api
/// The single unit type shape, similar to Void and None in other
/// languages, used to represent no meaningful value.
@unitType
structure Unit {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ double Double

double PrimitiveDouble

/// The single unit type shape, similar to Void and None in other
/// languages, used to represent no meaningful value.
@unitType
structure Unit {}

Expand Down

0 comments on commit 9d1df93

Please sign in to comment.