Skip to content

Commit

Permalink
Silence large_enum_variant lint (#472)
Browse files Browse the repository at this point in the history
  • Loading branch information
lambda-fairy authored Mar 3, 2025
1 parent 356f477 commit c0df34f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions maud_macros/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#![doc(html_root_url = "https://docs.rs/maud_macros/0.27.0")]
// TokenStream values are reference counted, and the mental overhead of tracking
// lifetimes outweighs the marginal gains from explicit borrowing
#![allow(clippy::large_enum_variant)]
#![allow(clippy::needless_pass_by_value)]

extern crate proc_macro;
Expand Down

0 comments on commit c0df34f

Please sign in to comment.