1
0
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:
Igor Petruk 2023-01-24 14:27:29 +00:00 committed by GitHub
parent b12a1cb320
commit da666548a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,6 +37,7 @@ fn main() {
race.add_lap(71);
race.print_laps();
race.finish();
// race.add_lap(42);
}
```