Remove unneded parens
This commit is contained in:
parent
2823504e84
commit
7c802e7056
@ -122,7 +122,7 @@ impl File {
|
||||
/// Can only be done if parent container already exists.
|
||||
///
|
||||
/// For specifics refer to `insert()` method.
|
||||
fn touch(&mut self, pointer: &str) -> (Result<(), IncorrectPointer>) {
|
||||
fn touch(&mut self, pointer: &str) -> Result<(), IncorrectPointer> {
|
||||
// If value is present - we're done
|
||||
if pointer.is_empty() || self.contents.pointer_mut(pointer).is_some() {
|
||||
return Ok(());
|
||||
|
Loading…
Reference in New Issue
Block a user