mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
remove extra return
This commit is contained in:
parent
c86dca53bd
commit
dd1411487e
3 changed files with 3 additions and 3 deletions
|
|
@ -33,7 +33,7 @@ impl Memory {
|
|||
|
||||
// Slot should be free, let check it twice
|
||||
match index.insert(request, id) {
|
||||
Some(_) => return Err(Error::Unexpected),
|
||||
Some(_) => Err(Error::Unexpected),
|
||||
None => Ok(()),
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue