You've already forked comprehensive-rust
mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-06-18 15:17:34 +02:00
Rename 'designing a library' example (#911)
rename 'designing a library' example library design in Rust is its own topic that this course does not cover; to avoid confusion, let's stick to describing things in terms of books
This commit is contained in:
committed by
GitHub
parent
8df1d74e73
commit
7f03a67a6a
@ -1,4 +1,4 @@
|
||||
# Designing a Library
|
||||
# Storing Books
|
||||
|
||||
We will learn much more about structs and the `Vec<T>` type tomorrow. For now,
|
||||
you just need to know part of its API:
|
||||
@ -15,7 +15,7 @@ fn main() {
|
||||
}
|
||||
```
|
||||
|
||||
Use this to create a library application. Copy the code below to
|
||||
Use this to model a library's book collection. Copy the code below to
|
||||
<https://play.rust-lang.org/> and update the types to make it compile:
|
||||
|
||||
```rust,should_panic
|
||||
|
Reference in New Issue
Block a user