Skip to content

Commit 700b11b

Browse files
committed
Add exception to clippy rule as a workaround.
This will probably be fixed in clippy 1.81 (rust-lang/rust-clippy#12892)
1 parent cf70fcd commit 700b11b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

graphannis/src/annis/db/corpusstorage.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1269,6 +1269,7 @@ impl CorpusStorage {
12691269
};
12701270

12711271
let config_as_str: Option<&str> = config_as_str.as_deref();
1272+
#[allow(clippy::needless_borrows_for_generic_args)]
12721273
graphannis_core::graph::serialization::graphml::export(
12731274
graph,
12741275
config_as_str,

0 commit comments

Comments
 (0)