Skip to content

Commit baebac4

Browse files
committed
---
yaml --- r: 210755 b: refs/heads/try c: 87c903a h: refs/heads/master i: 210753: 459c697 210751: f8639a6 v: v3
1 parent ffda8df commit baebac4

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
@@ -2,7 +2,7 @@
22
refs/heads/master: 3e561f05c00cd180ec02db4ccab2840a4aba93d2
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: ba0e1cd8147d452c356aacb29fb87568ca26f111
5-
refs/heads/try: a93c8b655f0d48a197ca5355825ed4fe3cc8ffbd
5+
refs/heads/try: 87c903a95caacee1eef516ccde5b08a470017392
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
88
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/try/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)