Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
sergey-shandar committed Aug 14, 2024
1 parent f31e04b commit 72b80a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blockset-lib/src/app/get.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ fn get_if(d: &U224, path: &str, io: &impl Io) -> io::Result<()> {
.items()
.iter()
.find(|p| p.0.items() == dir.items())
.map_or(Err(invalid_input("directory")), |f| Ok(f))?;
.ok_or(invalid_input("directory"))?;
let dir_obj = try_move::<_, JsObjectRef<_>>(dir_json.1.clone())?;
let items = dir_obj.items();
let t = items.len();
Expand Down

0 comments on commit 72b80a8

Please sign in to comment.