diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 7271390c8..a7be2b4c9 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -22,6 +22,7 @@ jobs: "C:\Program Files\Git\mingw64\bin\curl.exe" -sSf -o rustup-init.exe https://win.rustup.rs/ .\rustup-init.exe -y set PATH=%PATH%;%USERPROFILE%\.cargo\bin + rustup update rustc -V cargo -V displayName: 'Installing Rust' diff --git a/vm/src/obj/objsequence.rs b/vm/src/obj/objsequence.rs index 13e0761f6..447322c8e 100644 --- a/vm/src/obj/objsequence.rs +++ b/vm/src/obj/objsequence.rs @@ -218,6 +218,7 @@ pub fn get_item( type DynPyIter<'a> = Box + 'a>; +#[allow(clippy::len_without_is_empty)] pub trait SimpleSeq { fn len(&self) -> usize; fn iter(&self) -> DynPyIter;