Skip to content

Commit

Permalink
Update lifetime_bounds.md
Browse files Browse the repository at this point in the history
  • Loading branch information
samliok authored Aug 5, 2024
1 parent e691ace commit 5ad879d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scope/lifetime/lifetime_bounds.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ use std::fmt::Debug; // Trait to bound with.
#[derive(Debug)]
struct Ref<'a, T: 'a>(&'a T);
// `Ref` contains a reference to a generic type `T` that has
// an unknown lifetime `'a`. `T` is bounded such that any
// some lifetime `'a` unknown by `Ref`. `T` is bounded such that any
// *references* in `T` must outlive `'a`. Additionally, the lifetime
// of `Ref` may not exceed `'a`.
Expand Down

0 comments on commit 5ad879d

Please sign in to comment.