Skip to content

Commit d066661

Browse files
committed
Fixed item found by lint
1 parent e66f3b5 commit d066661

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ impl Command for Facts {
166166
}
167167
}
168168

169-
fn read_facts_from_file<T: DeserializeOwned>(fname: &str) -> Result<Vec<YAMLFact>, Box<dyn Error>> {
169+
fn read_facts_from_file(fname: &str) -> Result<Vec<YAMLFact>, Box<dyn Error>> {
170170
let file = std::fs::File::open(fname)?;
171171
Ok(serde_yaml::from_reader(file)?)
172172
}

0 commit comments

Comments
 (0)