Skip to content

Commit 96bc2fd

Browse files
committed
---
yaml --- r: 217058 b: refs/heads/stable c: 87c903a h: refs/heads/master v: v3
1 parent ad5d88c commit 96bc2fd

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ refs/heads/tmp: 378a370ff2057afeb1eae86eb6e78c476866a4a6
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3030
refs/tags/homu-tmp: a5286998df566e736b32f6795bfc3803bdaf453d
3131
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
32-
refs/heads/stable: a93c8b655f0d48a197ca5355825ed4fe3cc8ffbd
32+
refs/heads/stable: 87c903a95caacee1eef516ccde5b08a470017392
3333
refs/tags/1.0.0: 55bd4f8ff2b323f317ae89e254ce87162d52a375

branches/stable/src/doc/reference.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1405,6 +1405,11 @@ implementations for every method, but it must specify the type `E`. Here's
14051405
an implementation of `Container` for the standard library type `Vec`:
14061406

14071407
```
1408+
# trait Container {
1409+
# type E;
1410+
# fn empty() -> Self;
1411+
# fn insert(&mut self, Self::E);
1412+
# }
14081413
impl<T> Container for Vec<T> {
14091414
type E = T;
14101415
fn empty() -> Vec<T> { Vec::new() }

0 commit comments

Comments
 (0)