mirror of
https://github.com/uutils/coreutils
synced 2024-11-17 02:08:09 +00:00
uucore/refactor ~ fix cargo clippy
complaints (len_zero)
This commit is contained in:
parent
bc1084a9f5
commit
3941d3f18c
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ pub fn parse_symbolic(
|
|||
let respect_umask = pos == 0;
|
||||
let last_umask = unsafe { umask(0) };
|
||||
mode = &mode[pos..];
|
||||
while mode.len() > 0 {
|
||||
while !mode.is_empty() {
|
||||
let (op, pos) = parse_op(mode, None)?;
|
||||
mode = &mode[pos..];
|
||||
let (mut srwx, pos) = parse_change(mode, fperm, considering_dir);
|
||||
|
|
Loading…
Reference in a new issue