Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- struct ImportantExcerpt<'a, 'b> {
- part_a: &'a str,
- part_b: &'b str,
- }
- impl<'c, 'd> ImportantExcerpt<'c, 'd> {
- }
- impl<'f> ImportantExcerpt<'f, 'f> {
- }
- impl<'g, 'h: 'g> ImportantExcerpt<'g, 'h> {
- }
- // impl for the static lifetime
- impl ImportantExcerpt<'static, 'static> {
- }
- // when you don't need the names for anything else
- impl ImportantExcerpt<'_, '_> {
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement