Skip to content

Commit 8c02064

Browse files
committed
Make a reference non mutable
1 parent 4dd20ea commit 8c02064

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scrapers/thingiverse/store.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,7 @@ can not be smaller then ({MIN_SLICE_SIZE})"
670670
construct_file_path(&self.root_dir, "last_scrape_slice.csv", false)
671671
}
672672

673-
pub async fn write_slice_being_scraped(&mut self) -> io::Result<()> {
673+
pub async fn write_slice_being_scraped(&self) -> io::Result<()> {
674674
let file_path = self.current_scrape_slice_file_path();
675675
fs::write(&file_path, self.current_scrape_slice.to_string()).await
676676
}

0 commit comments

Comments
 (0)