Skip to content

Commit

Permalink
quell clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
nnyyxxxx committed Oct 17, 2024
1 parent 2e4e41b commit 7a5eb4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ fn choose_folder(

fn load_images(folder: &Path, flowbox: &Rc<RefCell<FlowBox>>, image_loader: &Rc<RefCell<ImageLoader>>) {
{
let mut flowbox = flowbox.borrow_mut();
let flowbox = flowbox.borrow_mut();
while let Some(child) = flowbox.first_child() {
flowbox.remove(&child);
}
Expand All @@ -183,7 +183,7 @@ fn load_more_images(flowbox: &Rc<RefCell<FlowBox>>, image_loader: &Rc<RefCell<Im
}

{
let mut flowbox = flowbox.borrow_mut();
let flowbox = flowbox.borrow_mut();
for path in batch {
let image = Image::from_file(&path);
image.set_pixel_size(250);
Expand Down

0 comments on commit 7a5eb4b

Please sign in to comment.