Commit 3416d59
authored
Avoid unnecessary borrow in exercise.rs (#3026)
We haven't talked about copy types yet, but the rows are infact `Copy`.
So we can avoid the borrow syntax, which hasn't yet been introduced.
Also inline the variable in the format string like elsewhere in the
course.1 parent 08b984b commit 3416d59
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
| 39 | + | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | | - | |
| 46 | + | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
0 commit comments