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:
parent
5bbb68be2c
commit
ce7c5fdf22
@ -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!"),
|
||||||
//}
|
//}
|
||||||
//
|
//
|
||||||
|
Loading…
x
Reference in New Issue
Block a user