Skip to content

Commit f6e951e

Browse files
committed
Remove trivial bounds
1 parent e9ed765 commit f6e951e

4 files changed

Lines changed: 0 additions & 4 deletions

File tree

library/core/src/num/f128.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1352,7 +1352,6 @@ impl f128 {
13521352
#[unstable(feature = "clamp_to", issue = "147781")]
13531353
pub fn clamp_to<R>(self, range: R) -> Self
13541354
where
1355-
Self: Sized,
13561355
R: crate::cmp::ClampBounds<Self>,
13571356
{
13581357
range.clamp(self)

library/core/src/num/f16.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1330,7 +1330,6 @@ impl f16 {
13301330
#[unstable(feature = "clamp_to", issue = "147781")]
13311331
pub fn clamp_to<R>(self, range: R) -> Self
13321332
where
1333-
Self: Sized,
13341333
R: crate::cmp::ClampBounds<Self>,
13351334
{
13361335
range.clamp(self)

library/core/src/num/f32.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1504,7 +1504,6 @@ impl f32 {
15041504
#[unstable(feature = "clamp_to", issue = "147781")]
15051505
pub fn clamp_to<R>(self, range: R) -> Self
15061506
where
1507-
Self: Sized,
15081507
R: crate::cmp::ClampBounds<Self>,
15091508
{
15101509
range.clamp(self)

library/core/src/num/f64.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1502,7 +1502,6 @@ impl f64 {
15021502
#[unstable(feature = "clamp_to", issue = "147781")]
15031503
pub fn clamp_to<R>(self, range: R) -> Self
15041504
where
1505-
Self: Sized,
15061505
R: crate::cmp::ClampBounds<Self>,
15071506
{
15081507
range.clamp(self)

0 commit comments

Comments
 (0)