mirror of
https://github.com/SkyfallWasTaken/dinopkg.git
synced 2025-05-22 06:53:06 +00:00
Placate Clippy
This commit is contained in:
parent
a66c7ee399
commit
f742244f95
3 changed files with 6 additions and 5 deletions
|
@ -29,8 +29,9 @@ pub struct PackageJson {
|
|||
}
|
||||
|
||||
// serde :/
|
||||
#[allow(clippy::trivially_copy_pass_by_ref)]
|
||||
fn is_false(value: &bool) -> bool {
|
||||
!*value
|
||||
!value
|
||||
}
|
||||
|
||||
fn default_as_false() -> bool {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue