mirror of
https://github.com/nushell/nushell.git
synced 2025-08-13 00:07:54 +02:00
Rust 1.49 Clippy Fixes (#2835)
This commit is contained in:
@ -107,7 +107,7 @@ impl Value {
|
||||
}
|
||||
s.parse().ok()
|
||||
}
|
||||
if pointer == "" {
|
||||
if pointer.is_empty() {
|
||||
return Some(self);
|
||||
}
|
||||
if !pointer.starts_with('/') {
|
||||
|
Reference in New Issue
Block a user