Skip to content

Commit

Permalink
Move unused_qualifications to the lints table.
Browse files Browse the repository at this point in the history
  • Loading branch information
xStrom committed May 23, 2024
1 parent 634d18c commit 5b4ecee
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ exclude = ["/.github/", "/doc/", ".gitignore"]
clippy.doc_markdown = "warn"
clippy.semicolon_if_nothing_returned = "warn"
clippy.trivially_copy_pass_by_ref = "warn"
rust.unused_qualifications = "warn"

[lints]
workspace = true
Expand Down
1 change: 0 additions & 1 deletion fontique/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

//! Font enumeration and fallback.
#![warn(unused_qualifications)]
// TODO: Remove this dead code allowance and hide the offending code behind the std feature gate.
#![cfg_attr(not(feature = "std"), allow(dead_code))]
#![cfg_attr(all(not(feature = "std"), not(test)), no_std)]
Expand Down
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

//! Rich text layout.
#![warn(unused_qualifications)]
// TODO: Remove this dead code allowance and hide the offending code behind the std feature gate.
#![cfg_attr(not(feature = "std"), allow(dead_code))]
#![cfg_attr(all(not(feature = "std"), not(test)), no_std)]
Expand Down

0 comments on commit 5b4ecee

Please sign in to comment.