Skip to content

Commit

Permalink
Merge pull request #1869 from samliok/patch-1
Browse files Browse the repository at this point in the history
Update lifetime_bounds.md
  • Loading branch information
marioidival committed Aug 6, 2024
2 parents e691ace + 5ad879d commit 8f94061
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 8f94061

Please sign in to comment.