Merge pull request #1285 from gwenn/clippy_msrv

Specify a MSRV for clippy
This commit is contained in:
gwenn 2023-02-09 18:45:28 +01:00 committed by GitHub
commit 385a5c5251
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -1 +1,2 @@
doc-valid-idents = ["SQLite", "lang_transaction"] doc-valid-idents = ["SQLite", "lang_transaction"]
msrv = "1.55.0"

View File

@ -265,7 +265,7 @@ mod test {
)); ));
blob.raw_read_at_exact(&mut s2, 5).unwrap_err(); blob.raw_read_at_exact(&mut s2, 5).unwrap_err();
let end_pos = blob.seek(std::io::SeekFrom::Current(0)).unwrap(); let end_pos = blob.stream_position().unwrap();
assert_eq!(end_pos, 1); assert_eq!(end_pos, 1);
Ok(()) Ok(())
} }