Skip to content

Commit

Permalink
chore: allow unknown lints (#543)
Browse files Browse the repository at this point in the history
* chore: allow unknown lints

* chore: clippy
  • Loading branch information
DaniPopes authored Feb 28, 2024
1 parent 90e800e commit 359676a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion crates/dyn-abi/src/eip712/typed_data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ impl<'de> Deserialize<'de> for TypedData {
message: serde_json::Value,
}

#[allow(non_local_definitions)]
#[allow(unknown_lints, non_local_definitions)]
impl From<TypedDataHelper> for TypedData {
fn from(value: TypedDataHelper) -> Self {
Self {
Expand Down
6 changes: 6 additions & 0 deletions crates/syn-solidity/src/ident/path.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,12 @@ impl Spanned for SolPath {
}
}

impl Default for SolPath {
fn default() -> Self {
Self::new()
}
}

impl SolPath {
pub const fn new() -> Self {
Self(Punctuated::new())
Expand Down

0 comments on commit 359676a

Please sign in to comment.