about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2017-07-10 13:45:10 -0400
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2017-07-11 10:30:23 +0200
commit24a5ceab525a0f43d9553f3246516800be4931a9 (patch)
treeaeafc16fbcf9bd31a0f62541d09a35ae6999d267
parentef26f1756c88fe75bc869a0c5f78496aa445b914 (diff)
downloadrust-24a5ceab525a0f43d9553f3246516800be4931a9.tar.gz
rust-24a5ceab525a0f43d9553f3246516800be4931a9.zip
tweak word ordering
-rw-r--r--src/librustc/diagnostics.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/diagnostics.rs b/src/librustc/diagnostics.rs
index cc4d0f7e4c7..cef1be5cee2 100644
--- a/src/librustc/diagnostics.rs
+++ b/src/librustc/diagnostics.rs
@@ -1974,7 +1974,7 @@ fn foo<'a>(x: &'a i32, y: &'a i32) -> &'a i32 {
 ```
 
 Now the signature indicates that the function data borrowed from either `x` or
-`y`. Alternatively, you could change the body not to return data from y:
+`y`. Alternatively, you could change the body to not return data from `y`:
 
 ```
 fn foo<'a>(x: &'a i32, y: &i32) -> &'a i32 {