Add missing word (#45)
This commit is contained in:
parent
d2be52f32f
commit
20ff3a1743
|
@ -55,7 +55,7 @@ The duplication remains.
|
|||
## Generic programming
|
||||
|
||||
We can do better using **generics**.
|
||||
Generics allow us to write that works with a **type parameter** instead of a concrete type:
|
||||
Generics allow us to write code that works with a **type parameter** instead of a concrete type:
|
||||
|
||||
```rust
|
||||
fn print_if_even<T>(n: T)
|
||||
|
|
Loading…
Reference in New Issue