Skip to content

Commit

Permalink
Rephrase explicit lifetime comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mdinger committed Aug 11, 2015
1 parent 1de2fff commit 0832d4e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/scope/lifetime/explicit/explicit.rs
Expand Up @@ -12,10 +12,10 @@ fn main() {
// other words, *Rule 2* must be true.
print_refs(&four, &nine);

// Uses a lifetime without any input. The lifetime sizedness will
// be chosen by the caller (which is here) from available lifetimes
// (scopes). Any lifetime chosen will then be larger than that of
// the function.
// Note that there is no input even though the function specifies
// a lifetime. The sizedness of that lifetime will be determined
// by the caller (which is here) from available lifetimes (scopes).
// Any lifetime chosen will then be larger than that of the function.
failed_borrow();
}

Expand Down

0 comments on commit 0832d4e

Please sign in to comment.