Skip to content

Commit

Permalink
Remove the Copy trait
Browse files Browse the repository at this point in the history
Relevan issue: rust-num#245
  • Loading branch information
LucaCiucci committed Aug 18, 2023
1 parent c2de8be commit 3a538b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/real.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use crate::{Float, Num, NumCast};
/// for a list of data types that could meaningfully implement this trait.
///
/// This trait is only available with the `std` feature, or with the `libm` feature otherwise.
pub trait Real: Num + Copy + NumCast + PartialOrd + Neg<Output = Self> {
pub trait Real: Num + NumCast + PartialOrd + Neg<Output = Self> {
/// Returns the smallest finite value that this type can represent.
///
/// ```
Expand Down

0 comments on commit 3a538b0

Please sign in to comment.