Task #108792 - added.err
back to task #108792download
Error: CLIPPY_WARNING:
crates/system-reinstall-bootc/src/os_release.rs:24:76: warning: use of a disallowed method `str::len`
# |
# 24 | if value.starts_with('"') && value.ends_with('"') && value.len() >= 2 {
# | ^^^
# |
# = note: use <str>.as_bytes().len() instead
# = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.94.0/index.html#disallowed_methods
# = note: requested on the command line with `-D clippy::disallowed-methods`
Error: CLIPPY_WARNING:
crates/system-reinstall-bootc/src/os_release.rs:25:52: warning: use of a disallowed method `str::len`
# |
# 25 | let unquoted = &value[1..value.len() - 1];
# | ^^^
# |
# = note: use <str>.as_bytes().len() instead
# = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.94.0/index.html#disallowed_methods
Error: CLIPPY_WARNING:
crates/system-reinstall-bootc/src/os_release.rs:32:85: warning: use of a disallowed method `str::len`
# |
# 32 | } else if value.starts_with('\'') && value.ends_with('\'') && value.len() >= 2 {
# | ^^^
# |
# = note: use <str>.as_bytes().len() instead
# = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.94.0/index.html#disallowed_methods
Error: CLIPPY_WARNING:
crates/system-reinstall-bootc/src/os_release.rs:33:54: warning: use of a disallowed method `str::len`
# |
# 33 | last_found = Some(value[1..value.len() - 1].to_string());
# | ^^^
# |
# = note: use <str>.as_bytes().len() instead
# = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.94.0/index.html#disallowed_methods