Fix clippy and azure pipelines

This commit is contained in:
coolreader18 committed 2019-07-08 13:24:06 -05:00
1 parent 1c1440eb78
commit 5b32dfbed9
2 files changed
+2

No files matched your search

+1
View File
@@ -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'
+1
View File
@@ -218,6 +218,7 @@ pub fn get_item(
type DynPyIter<'a> = Box<dyn ExactSizeIterator<Item = &'a PyObjectRef> + 'a>;
#[allow(clippy::len_without_is_empty)]
pub trait SimpleSeq {
fn len(&self) -> usize;
fn iter(&self) -> DynPyIter;