Skip to content

Commit 5b32dfb

Browse files
committed
Fix clippy and azure pipelines
1 parent 1c1440e commit 5b32dfb

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

azure-pipelines.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
"C:\Program Files\Git\mingw64\bin\curl.exe" -sSf -o rustup-init.exe https://win.rustup.rs/
2323
.\rustup-init.exe -y
2424
set PATH=%PATH%;%USERPROFILE%\.cargo\bin
25+
rustup update
2526
rustc -V
2627
cargo -V
2728
displayName: 'Installing Rust'

vm/src/obj/objsequence.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@ pub fn get_item(
218218

219219
type DynPyIter<'a> = Box<dyn ExactSizeIterator<Item = &'a PyObjectRef> + 'a>;
220220

221+
#[allow(clippy::len_without_is_empty)]
221222
pub trait SimpleSeq {
222223
fn len(&self) -> usize;
223224
fn iter(&self) -> DynPyIter;

0 commit comments

Comments
 (0)