Skip to content

Commit 24a5cea

Browse files
nikomatsakisGuillaumeGomez
authored andcommitted
tweak word ordering
1 parent ef26f17 commit 24a5cea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/diagnostics.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1974,7 +1974,7 @@ fn foo<'a>(x: &'a i32, y: &'a i32) -> &'a i32 {
19741974
```
19751975
19761976
Now the signature indicates that the function data borrowed from either `x` or
1977-
`y`. Alternatively, you could change the body not to return data from y:
1977+
`y`. Alternatively, you could change the body to not return data from `y`:
19781978
19791979
```
19801980
fn foo<'a>(x: &'a i32, y: &i32) -> &'a i32 {

0 commit comments

Comments
 (0)