Skip to content

Commit

Permalink
Disable clippy warning in definitions.rs
Browse files Browse the repository at this point in the history
The derive_builder macro introduces some warning about Default trait
usage in version 0.10.0.

I can not reprodiuce this outside my codebase and thus feel not
comfortable to file a bug report... but the thing seems to work fine,
so just allow the relevant warning in that file:-/
  • Loading branch information
hunger committed Apr 10, 2021
1 parent 1bb82a1 commit e67301d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gng_shared/src/definitions.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// SPDX-License-Identifier: GPL-3.0-or-later
// Copyright (C) 2020 Tobias Hunger <tobias.hunger@gmail.com>

#![allow(clippy::default_trait_access)] // To work around a warning in code generated by derive_builder!

//! Package configuration

use itertools::Itertools;
Expand Down

0 comments on commit e67301d

Please sign in to comment.