Skip to content

Commit

Permalink
chore: make clippy happy
Browse files Browse the repository at this point in the history
Signed-off-by: MrCroxx <[email protected]>
  • Loading branch information
MrCroxx committed Jan 11, 2025
1 parent 83c8552 commit 5e132a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ check:
typos
cargo sort -w
cargo fmt --all
cargo clippy --all-targets
cargo clippy --all-targets --all-features

test:
Expand Down
2 changes: 2 additions & 0 deletions src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
// limitations under the License.

/// Scoped functional programming extensions.
#[allow(dead_code)]
pub trait Scope {
/// Scoped with ownership.
fn with<F, R>(self, f: F) -> R
Expand Down Expand Up @@ -44,6 +45,7 @@ pub trait Scope {
impl<T> Scope for T {}

/// Helper trait for boxing.
#[allow(dead_code)]
pub trait Boxer {
fn boxed(self) -> Box<Self>
where
Expand Down

0 comments on commit 5e132a1

Please sign in to comment.