diff --git a/src/database/file.rs b/src/database/file.rs index 4856c98..d1d9390 100644 --- a/src/database/file.rs +++ b/src/database/file.rs @@ -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(());