Skip to content

Commit

Permalink
tweak word ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
nikomatsakis authored and GuillaumeGomez committed Jul 11, 2017
1 parent ef26f17 commit 24a5cea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc/diagnostics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 24a5cea

Please sign in to comment.