summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNarawit Rakket <narawitrakket@hotmail.com>2022-08-02 06:57:13 +0700
committerAbin Simon <abinsimon10@gmail.com>2022-08-02 09:31:24 +0530
commit1769bdb85661dd9e71ccdcd6b75ce6d9788c4056 (patch)
tree219dcfb847d3d939f35e7c809c09d44843d55bfa
parent425e515e480c90275749668b7e53aed7b769dc15 (diff)
refactor: run `clippy --fix`
-rw-r--r--src/config_file.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config_file.rs b/src/config_file.rs
index b15d8a3..b20c81f 100644
--- a/src/config_file.rs
+++ b/src/config_file.rs
@@ -408,7 +408,7 @@ mod tests {
#[test]
fn test_read_config_file_not_found() {
- let c = Config::from_file("not-existed".to_string());
+ let c = Config::from_file("not-existed");
assert!(c.is_none())
}