Commit 4e12a92
committed
Rollup merge of rust-lang#25508 - johshoff:visit_dirs_example, r=alexcrichton
The current version of the example won't compile due to unstable features.
This is an attempt to fix that, at the cost of slightly more verbose code.
Using rust 1.0.0 (a59de37).
It might be obvious, but I'm not well versed with rust, so feedback is very welcome.1 file changed
+5
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1099 | 1099 | | |
1100 | 1100 | | |
1101 | 1101 | | |
1102 | | - | |
1103 | 1102 | | |
1104 | | - | |
| 1103 | + | |
1105 | 1104 | | |
1106 | 1105 | | |
1107 | 1106 | | |
1108 | | - | |
1109 | | - | |
| 1107 | + | |
| 1108 | + | |
1110 | 1109 | | |
1111 | 1110 | | |
1112 | | - | |
| 1111 | + | |
1113 | 1112 | | |
1114 | 1113 | | |
1115 | | - | |
| 1114 | + | |
1116 | 1115 | | |
1117 | 1116 | | |
1118 | 1117 | | |
| |||
0 commit comments