Skip to content

Commit

Permalink
Merge pull request #2906 from davidzeng0/master
Browse files Browse the repository at this point in the history
fix clippy absolute paths warning
  • Loading branch information
dtolnay authored Mar 9, 2025
2 parents a8bdd17 + 168b6cf commit 514848b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion serde_derive/src/dummy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pub fn wrap_in_const(serde_path: Option<&syn::Path>, code: TokenStream) -> Token

quote! {
#[doc(hidden)]
#[allow(non_upper_case_globals, unused_attributes, unused_qualifications)]
#[allow(non_upper_case_globals, unused_attributes, unused_qualifications, clippy::absolute_paths)]
const _: () = {
#use_serde
#code
Expand Down

0 comments on commit 514848b

Please sign in to comment.