about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2017-02-28 11:19:48 +0100
committerGitHub <noreply@github.com>2017-02-28 11:19:48 +0100
commitbe49671df9772ee8b82a53c147f8a3cd115fd8f0 (patch)
treeb24924c62bee68ec98437f1c70f817c766cabe24 /src
parent2a40918928818bdaa8bdc3780ce5d6449bb69f85 (diff)
downloadrust-be49671df9772ee8b82a53c147f8a3cd115fd8f0.tar.gz
rust-be49671df9772ee8b82a53c147f8a3cd115fd8f0.zip
Improve a bit more
Diffstat (limited to 'src')
-rw-r--r--src/librustc/infer/region_inference/README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/infer/region_inference/README.md b/src/librustc/infer/region_inference/README.md
index f5c254a4594..b564faf3d0c 100644
--- a/src/librustc/infer/region_inference/README.md
+++ b/src/librustc/infer/region_inference/README.md
@@ -183,7 +183,7 @@ fn inc(p: &mut usize) -> usize {
     *p += 1; *p
 }
 fn weird() {
-    let mut x: Box<Foo> = box Foo { ... };
+    let mut x: Box<Foo> = box Foo { /* ... */ };
     'a: add(&mut (*x).f,
             'b: inc(&mut (*x).f)) // (..)
 }