Skip to content

Commit

Permalink
how would i remove this warning??
Browse files Browse the repository at this point in the history
  • Loading branch information
greeenboi committed Feb 5, 2024
1 parent 5f7de3d commit b4b32e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src-tauri/src/fc.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use serde::{Deserialize, Serialize};
use serde_json::Result;
// use serde_json::Result;
use std::fs;
use std::path::Path;

Expand Down Expand Up @@ -42,6 +42,7 @@ pub fn read_directory(dir_path: &str) -> String {
let filename = match path_unwrap.file_name().into_string() {
Ok(str) => str,
Err(error) => String::from("ERROR"),

};

let file_path = dir_path.to_owned() + &filename;
Expand Down

0 comments on commit b4b32e9

Please sign in to comment.