Skip to content

Commit

Permalink
Remove unnecessary pub.
Browse files Browse the repository at this point in the history
  • Loading branch information
nnethercote committed Jul 25, 2023
1 parent 2cb292a commit d2b9797
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ where
Ok(())
}

pub trait Total: AddAssign + Copy + Display + From<u32> + PartialOrd {
trait Total: AddAssign + Copy + Display + From<u32> + PartialOrd {
/// `f64` doesn't impl `From<i64>` or `TryFrom<i64>`, so we do it
/// ourselves. We are unlikely to see `i64` values that are so big that
/// they cannot be represented as `f64`s, so we make this infallible.
Expand Down

0 comments on commit d2b9797

Please sign in to comment.