Skip to content

Commit

Permalink
Clean up warnings in cargo test
Browse files Browse the repository at this point in the history
  • Loading branch information
ozgurakgun authored and niklasdewally committed Sep 27, 2024
1 parent 3d94c3b commit 1bf92e2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion uniplate/examples/stmt.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(dead_code)]

use uniplate::derive::Uniplate;
use uniplate::{Biplate, Uniplate};
use uniplate::Biplate;

#[derive(Eq, PartialEq, Clone, Debug, Uniplate)]
#[uniplate()]
Expand Down
4 changes: 2 additions & 2 deletions uniplate/src/test_common/paper.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use crate::derive::Uniplate;
use crate::{Biplate, Uniplate};
use prop::sample::SizeRange;
#[cfg(test)]
use crate::Uniplate;
use proptest::prelude::*;

// Examples found in the Uniplate paper.
Expand Down
2 changes: 1 addition & 1 deletion uniplate/tests/derive-pass/biplate-stmt.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#![allow(dead_code)]

use uniplate::{Biplate, Uniplate,derive::Uniplate};
use uniplate::{derive::Uniplate, Biplate};

#[derive(Eq, PartialEq, Clone, Debug, Uniplate)]
#[biplate(to=Expr)]
Expand Down

0 comments on commit 1bf92e2

Please sign in to comment.