Skip to content

Commit e79b261

Browse files
committed
Fix clippy issues in newer Rust versions
1 parent d4fa075 commit e79b261

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

graphannis/src/annis/db/corpusstorage.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1232,7 +1232,7 @@ impl CorpusStorage {
12321232
///
12331233
/// - `corpus_name` - The name of the corpus to write to the ZIP file.
12341234
/// - `use_corpus_subdirectory` - If true, the corpus is written into a sub-directory inside the ZIP file.
1235-
/// This is useful when storing multiple corpora inside the same file.
1235+
/// This is useful when storing multiple corpora inside the same file.
12361236
/// - `zip` - A [writer](zip::ZipWriter) for the already created ZIP file.
12371237
/// - `progress_callback` - A callback function to which the export progress is reported to.
12381238
pub fn export_to_zip<W, F>(

graphannis/src/annis/db/exec/nodesearch.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ impl NodeSearchSpec {
121121
| NodeSearchSpec::NotExactTokenValue { .. }
122122
| NodeSearchSpec::RegexTokenValue { .. }
123123
| NodeSearchSpec::NotRegexTokenValue { .. }
124-
| NodeSearchSpec::AnyToken { .. } => (
124+
| NodeSearchSpec::AnyToken => (
125125
Some(TOKEN_KEY.ns.clone().into()),
126126
Some(TOKEN_KEY.name.clone().into()),
127127
),

0 commit comments

Comments
 (0)