1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-03-21 14:46:37 +02:00

Fix mistakes in book-library.rs (#619)

---------

Co-authored-by: Martin Geisler <martin@geisler.net>
This commit is contained in:
Carlos Jimenez 2023-05-08 09:20:42 +01:00 committed by GitHub
parent 5bbb68be2c
commit ce7c5fdf22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -125,7 +125,7 @@ fn main() {
//library.print_books(); //library.print_books();
// //
//match library.oldest_book() { //match library.oldest_book() {
// Some(book) => println!("The oldest book is {book}"), // Some(book) => println!("The oldest book is {}", book.title),
// None => println!("The library is empty!"), // None => println!("The library is empty!"),
//} //}
// //