diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 184a33d..f1438a1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: strategy: matrix: platform: [ubuntu-latest, macos-latest, windows-latest] - rust: [1.40.0, stable] + rust: [1.41.1, stable] runs-on: ${{ matrix.platform }} steps: - uses: actions/checkout@v2 @@ -45,7 +45,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions-rs/toolchain@v1 with: - toolchain: 1.46.0 + toolchain: 1.41.1 components: clippy override: true - uses: actions-rs/clippy-check@v1 diff --git a/src/cache.rs b/src/cache.rs index 961fd0c..409e228 100644 --- a/src/cache.rs +++ b/src/cache.rs @@ -242,7 +242,6 @@ impl Cache { } /// Delete the cache directory. - #[allow(clippy::map_err_ignore)] pub fn clear() -> Result<(), TealdeerError> { let (path, _) = Self::get_cache_dir()?; if path.exists() && path.is_dir() { diff --git a/src/main.rs b/src/main.rs index b32acd7..4b43090 100644 --- a/src/main.rs +++ b/src/main.rs @@ -61,7 +61,6 @@ const ARCHIVE_URL: &str = "https://github.com/tldr-pages/tldr/archive/master.tar const PAGER_COMMAND: &str = "less -R"; #[derive(Debug, Deserialize)] -#[allow(clippy::struct_excessive_bools)] struct Args { arg_command: Option>, flag_help: bool,