1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-06-18 07:07:35 +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

View File

@ -125,7 +125,7 @@ fn main() {
//library.print_books();
//
//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!"),
//}
//