mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-06-06 17:46:16 +02:00
Update example.md (#230)
Adding the line that you can no longer call `add_lap` after the race is finished.
This commit is contained in:
parent
b12a1cb320
commit
da666548a7
@ -37,6 +37,7 @@ fn main() {
|
||||
race.add_lap(71);
|
||||
race.print_laps();
|
||||
race.finish();
|
||||
// race.add_lap(42);
|
||||
}
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user