From c442f2fef665e7792138f23f7a5bdffc604b4a9d Mon Sep 17 00:00:00 2001 From: Samuel Colvin Date: Thu, 28 Mar 2024 17:05:47 -0600 Subject: [PATCH] fixes required by careful --- .github/workflows/ci.yml | 2 +- src/lazy_index_map.rs | 1 - tests/python.rs | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c90d41d1..bda69c96 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,7 +38,7 @@ jobs: uses: Swatinem/rust-cache@v2 - run: cargo install rustfilt coverage-prepare cargo-careful -# if: steps.cache-rust.outputs.cache-hit != 'true' + if: steps.cache-rust.outputs.cache-hit != 'true' - run: rustup component add llvm-tools-preview diff --git a/src/lazy_index_map.rs b/src/lazy_index_map.rs index 382d5e36..c490a9d4 100644 --- a/src/lazy_index_map.rs +++ b/src/lazy_index_map.rs @@ -1,5 +1,4 @@ use std::borrow::{Borrow, Cow}; -use std::cmp::{Eq, PartialEq}; use std::fmt; use std::hash::Hash; use std::slice::Iter as SliceIter; diff --git a/tests/python.rs b/tests/python.rs index 3920dc56..1def317d 100644 --- a/tests/python.rs +++ b/tests/python.rs @@ -1,6 +1,5 @@ use pyo3::prelude::*; use pyo3::types::{PyDict, PyList, PyString}; -use pyo3::ToPyObject; use jiter::{cache_clear, cache_usage, map_json_error, python_parse, JsonValue, StringCacheMode};