Skip to content

Commit

Permalink
fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
leudz committed Jun 5, 2020
1 parent a2312ee commit ccd99f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/storage/all/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,7 @@ let i = all_storages.try_run(sys1).unwrap();
&'s self,
s: S,
) -> Result<R, error::Run> {
Ok(s.run({ S::try_borrow(self)? }))
Ok(s.run(S::try_borrow(self)?))
}
#[doc = "Borrows the requested storages and runs the function.
Expand Down

0 comments on commit ccd99f1

Please sign in to comment.