We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0282d8d commit e610f80Copy full SHA for e610f80
1 file changed
src/uu/env/src/native_int_str.rs
@@ -257,7 +257,7 @@ impl<'a> NativeStr<'a> {
257
let n_prefix = to_native_int_representation(prefix);
258
let result = self.match_cow(
259
|b| b.strip_prefix(&*n_prefix).ok_or(()),
260
- |o| o.strip_prefix(&*n_prefix).map(<[u8]>::to_vec).ok_or(()),
+ |o| o.strip_prefix(&*n_prefix).map(<[_]>::to_vec).ok_or(()),
261
);
262
result.ok()
263
}
@@ -266,7 +266,7 @@ impl<'a> NativeStr<'a> {
266
267
let result = self.match_cow_native(
268
269
270
271
272
0 commit comments