Skip to content

Commit

Permalink
Apply clippy::impl_trait_in_params at crate-level
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Jan 30, 2024
1 parent f045140 commit 5b83e91
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/.cspell/project-dictionary.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ SIDREF
significand
specularity
splitn
taiki
testline
testmixed
testpoints
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ members = [
"examples/kiss3d",
]

# This table is shared by projects under https://github.com/taiki-e.
# This table is shared by projects under github.com/taiki-e.
# It is not intended for manual editing.
[workspace.lints.rust]
improper_ctypes = "warn"
Expand Down
8 changes: 7 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,13 @@
)
))]
#![forbid(unsafe_code)]
#![warn(clippy::exhaustive_enums, clippy::exhaustive_structs)]
#![warn(
// Lints that may help when writing public library.
// missing_docs, // TODO
clippy::exhaustive_enums,
clippy::exhaustive_structs,
clippy::impl_trait_in_params,
)]
#![allow(
clippy::cast_lossless,
clippy::inline_always,
Expand Down

0 comments on commit 5b83e91

Please sign in to comment.