Remove unneded parens
This commit is contained in:
parent
2823504e84
commit
7c802e7056
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue