Commit 4af985a
authored
Rollup merge of rust-lang#91215 - GuillaumeGomez:vec-deque-retain-mut, r=m-ou-se
Implement VecDeque::retain_mut
Part of rust-lang#90829.
In rust-lang#90772, someone suggested that `retain_mut` should also be implemented on `VecDeque`. I think that it follows the same logic (coherency). So first: is it ok? Second: should I create a new feature for it or can we put it into the same one?
r? `@joshtriplett`1 file changed
+34
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2148 | 2148 | | |
2149 | 2149 | | |
2150 | 2150 | | |
| 2151 | + | |
| 2152 | + | |
| 2153 | + | |
| 2154 | + | |
| 2155 | + | |
| 2156 | + | |
| 2157 | + | |
| 2158 | + | |
| 2159 | + | |
| 2160 | + | |
| 2161 | + | |
| 2162 | + | |
| 2163 | + | |
| 2164 | + | |
| 2165 | + | |
| 2166 | + | |
| 2167 | + | |
| 2168 | + | |
| 2169 | + | |
| 2170 | + | |
| 2171 | + | |
| 2172 | + | |
| 2173 | + | |
| 2174 | + | |
| 2175 | + | |
| 2176 | + | |
| 2177 | + | |
| 2178 | + | |
| 2179 | + | |
| 2180 | + | |
| 2181 | + | |
2151 | 2182 | | |
2152 | 2183 | | |
2153 | 2184 | | |
2154 | 2185 | | |
2155 | 2186 | | |
2156 | 2187 | | |
2157 | 2188 | | |
2158 | | - | |
| 2189 | + | |
2159 | 2190 | | |
2160 | 2191 | | |
2161 | 2192 | | |
| |||
2164 | 2195 | | |
2165 | 2196 | | |
2166 | 2197 | | |
2167 | | - | |
| 2198 | + | |
2168 | 2199 | | |
2169 | 2200 | | |
2170 | 2201 | | |
| |||
2173 | 2204 | | |
2174 | 2205 | | |
2175 | 2206 | | |
2176 | | - | |
| 2207 | + | |
2177 | 2208 | | |
2178 | 2209 | | |
2179 | 2210 | | |
| |||
0 commit comments