Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
38e1797
rustdoc: Add doc snippets for trait impls, with a read more link
Manishearth May 17, 2016
8e94b04
rustdoc: Support short doc fallback for non-default items
Manishearth May 17, 2016
74633b0
Move read more link to same line
Manishearth May 18, 2016
519cc82
Book: small improvement to a table to make it clearer
royalstream May 19, 2016
2fd4e60
Clarify the English translation of `?Sized`
postmodern May 20, 2016
d021d7d
Keep line-width within 80 columns
postmodern May 20, 2016
d8c086b
Grammar change
postmodern May 20, 2016
e614bb7
book: ownership: fix typo
alx741 May 20, 2016
9ce018b
Update tests
Manishearth May 18, 2016
bbed89b
Update simd syntax
GuillaumeGomez May 20, 2016
bf8c070
Clarify docs for sort(&mut self)
dns2utf8 May 19, 2016
b9d1e76
update tracking issue for once_poison
durka May 12, 2016
71af58a
Wording changes
postmodern May 21, 2016
87a2288
Rollup merge of #33578 - durka:patch-21, r=alexcrichton
Manishearth May 21, 2016
3f4d915
Rollup merge of #33679 - Manishearth:rustdoc-readmore-impls, r=alexcr…
Manishearth May 21, 2016
0c949d8
Rollup merge of #33743 - royalstream:royalstream-stack-doc, r=stevekl…
Manishearth May 21, 2016
c57bb10
Rollup merge of #33746 - dns2utf8:doc_sort_memory, r=steveklabnik
Manishearth May 21, 2016
f262bb8
Rollup merge of #33747 - postmodern:patch-2, r=Manishearth
Manishearth May 21, 2016
197aa52
Rollup merge of #33750 - alx741:fix_typo, r=Manishearth
Manishearth May 21, 2016
61b9be7
Rollup merge of #33757 - GuillaumeGomez:simd, r=steveklabnik
Manishearth May 21, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Grammar change
  • Loading branch information
postmodern committed May 20, 2016
commit d8c086b08561b41576e2614ae3b360374ccf993d
7 changes: 4 additions & 3 deletions src/doc/book/unsized-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ struct Foo<T: ?Sized> {
}
```

This `?Sized`, read as “T may or may not be `Sized`”, allowing us to match both
constant size and unsized types. All generic type parameters implicitly have
the `Sized` bound, so `?Sized` can be used to opt-out of the implicit bound.
This `?Sized`, read as “T may or may not be `Sized`”, which allows us to match
both constant size and unsized types. All generic type parameters implicitly
have the `Sized` bound, so `?Sized` can be used to opt-out of the implicit
bound.