diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2017-07-10 13:45:10 -0400 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2017-07-11 10:30:23 +0200 |
| commit | 24a5ceab525a0f43d9553f3246516800be4931a9 (patch) | |
| tree | aeafc16fbcf9bd31a0f62541d09a35ae6999d267 | |
| parent | ef26f1756c88fe75bc869a0c5f78496aa445b914 (diff) | |
| download | rust-24a5ceab525a0f43d9553f3246516800be4931a9.tar.gz rust-24a5ceab525a0f43d9553f3246516800be4931a9.zip | |
tweak word ordering
| -rw-r--r-- | src/librustc/diagnostics.rs | 2 |
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 { |
