Skip to content

Commit

Permalink
refactor: fix clippy errors
Browse files Browse the repository at this point in the history
  • Loading branch information
SeaDve committed Jan 27, 2024
1 parent e36d105 commit 40255b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ pub fn gen_settings(
let schema_file_path = SpannedValue::into_inner(file_attr);

// Parse schema list
let schema_file = File::open(&schema_file_path).unwrap_or_else(|err| {
let schema_file = File::open(schema_file_path).unwrap_or_else(|err| {
abort!(file_attr_span, "failed to open schema file: {}", err);
});
let schema_list: SchemaList = quick_xml::de::from_reader(BufReader::new(schema_file))
Expand Down

0 comments on commit 40255b6

Please sign in to comment.