Skip to content

Commit

Permalink
Add exception to clippy rule as a workaround.
Browse files Browse the repository at this point in the history
This will probably be fixed in clippy 1.81 (rust-lang/rust-clippy#12892)
  • Loading branch information
thomaskrause committed Aug 20, 2024
1 parent cf70fcd commit 700b11b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions graphannis/src/annis/db/corpusstorage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1269,6 +1269,7 @@ impl CorpusStorage {
};

let config_as_str: Option<&str> = config_as_str.as_deref();
#[allow(clippy::needless_borrows_for_generic_args)]
graphannis_core::graph::serialization::graphml::export(
graph,
config_as_str,
Expand Down

0 comments on commit 700b11b

Please sign in to comment.