about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2019-06-24 14:33:02 -0400
committerWho? Me?! <mark-i-m@users.noreply.github.com>2019-06-26 11:05:58 -0500
commit36431d5ff651c53957ca367b25b5ea9d59f81332 (patch)
treec1b91efe844b00366546d690593ce15265077ea3 /src/doc/rustc-dev-guide
parenta8b5b2176576b0e9835b6b4117294db7e2c193d2 (diff)
downloadrust-36431d5ff651c53957ca367b25b5ea9d59f81332.tar.gz
rust-36431d5ff651c53957ca367b25b5ea9d59f81332.zip
Update src/borrow_check/region_inference/lifetime_parameters.md
Co-Authored-By: lqd <remy.rakic+github@gmail.com>
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/borrow_check/region_inference/lifetime_parameters.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/src/borrow_check/region_inference/lifetime_parameters.md b/src/doc/rustc-dev-guide/src/borrow_check/region_inference/lifetime_parameters.md
index 10759ee56cd..1a50f45f9fd 100644
--- a/src/doc/rustc-dev-guide/src/borrow_check/region_inference/lifetime_parameters.md
+++ b/src/doc/rustc-dev-guide/src/borrow_check/region_inference/lifetime_parameters.md
@@ -15,7 +15,7 @@ fn foo<'a, 'b>(x: &'a u32, y: &'b u32) -> &'b u32 {
 
 This example is intended not to compile, because we are returning `x`,
 which has type `&'a u32`, but our signature promises that we will
-return a `&'b u32` value. But how are lifetimes like `'a` and `'b
+return a `&'b u32` value. But how are lifetimes like `'a` and `'b`
 integrated into region inference, and how this error wind up being
 detected?