Skip to content

Commit

Permalink
finish lifetimes3
Browse files Browse the repository at this point in the history
  • Loading branch information
cyz-ing committed Jan 31, 2025
1 parent 46ea65b commit c4ccfb4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions exercises/lifetimes/lifetimes3.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@

// I AM NOT DONE

struct Book {
author: &str,
title: &str,
struct Book<'a> {
author: & 'a str,
title: & 'a str,
}

fn main() {
Expand Down

0 comments on commit c4ccfb4

Please sign in to comment.