Skip to content

Commit

Permalink
1.81 clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Grinkers committed Sep 17, 2024
1 parent 75bed24 commit 8570d00
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ unsafe_code = "deny"
[lints.clippy]
nursery = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
allow_attributes = "warn"
inline_always = "allow"
must_use_candidate = "allow"
unwrap_used = "warn"
Expand Down
4 changes: 2 additions & 2 deletions src/parse.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![allow(clippy::inline_always)]
#![expect(clippy::inline_always)]

use alloc::collections::{BTreeMap, BTreeSet};
use alloc::vec::Vec;
Expand Down Expand Up @@ -273,7 +273,7 @@ fn parse_set<'e>(walker: &mut Walker, slice: &'e str) -> Result<Edn<'e>, Error>
}

#[inline]
#[allow(clippy::needless_pass_by_ref_mut)]
#[expect(clippy::needless_pass_by_ref_mut, reason = "once implemented, walker will need to be mut")]
fn parse_tag<'e>(walker: &mut Walker) -> Result<Edn<'e>, Error> {
Err(Error {
code: Code::Unimplemented("Tagged Element"),
Expand Down

0 comments on commit 8570d00

Please sign in to comment.