Skip to content

Commit 10e0026

Browse files
committed
---
yaml --- r: 236098 b: refs/heads/stable c: c97673c h: refs/heads/master v: v3
1 parent 368360a commit 10e0026

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ refs/heads/tmp: afae2ff723393b3ab4ccffef6ac7c6d1809e2da0
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3030
refs/tags/homu-tmp: f859507de8c410b648d934d8f5ec1c52daac971d
3131
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
32-
refs/heads/stable: b79d279418db10728d5067fc872c0a9f273ba123
32+
refs/heads/stable: c97673c7b0fffe131822f2a5be520cf408c68319
3333
refs/tags/1.0.0: 55bd4f8ff2b323f317ae89e254ce87162d52a375
3434
refs/tags/1.1.0: bc3c16f09287e5545c1d3f76b7abd54f2eca868b
3535
refs/tags/1.2.0: f557861f822c34f07270347b94b5280de20a597e

branches/stable/src/doc/tarpl/lifetimes.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,7 @@ let y = &x;
6666
z = y;
6767
```
6868

69-
The borrow checker always tries to minimize the extent of a lifetime, so it will
70-
likely desugar to something like the following:
71-
7269
```rust,ignore
73-
// NOTE: `'a: {` and `foo = &'b x` is not valid syntax!
7470
'a: {
7571
let x: i32 = 0;
7672
'b: {
@@ -191,8 +187,6 @@ println!("{}", x);
191187
'c: {
192188
// Temporary scope because we don't need the
193189
// &mut to last any longer.
194-
195-
// NOTE: Vec::push is not valid syntax
196190
Vec::push(&'c mut data, 4);
197191
}
198192
println!("{}", x);

0 commit comments

Comments
 (0)