Commit 8a852b7
committed
Permit using repeat..take even if repeat_with is not available in this MSRVS
We were early exiting if we didn't have repeat_with even when we'd suggest repeat.take1 parent 4ea5076 commit 8a852b7
File tree
1 file changed
+3
-4
lines changed- clippy_lints/src/methods
1 file changed
+3
-4
lines changedLines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | 68 | | |
72 | 69 | | |
73 | 70 | | |
| |||
86 | 83 | | |
87 | 84 | | |
88 | 85 | | |
89 | | - | |
| 86 | + | |
90 | 87 | | |
91 | 88 | | |
| 89 | + | |
| 90 | + | |
92 | 91 | | |
93 | 92 | | |
94 | 93 | | |
| |||
0 commit comments