Skip to content

Commit a7a45b3

Browse files
committed
Add T: ?Sized as an alternative
1 parent 555bb86 commit a7a45b3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

text/0000-dst-syntax.md

+5
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,11 @@ Alternatives
172172
of the previous syntaxes are discussed in the ‘History of the DST syntax’
173173
section of this RFC.
174174

175+
- Change the syntax to `T: ?Sized` instead. This is more consistent with things
176+
like negative bounds (which would probably be something like `T: !Foo`), and
177+
uses a prefix operator, which is more consistent with other parts of Rust’s
178+
syntax.
179+
175180
Unresolved questions
176181
====================
177182

0 commit comments

Comments
 (0)