Skip to content

Commit e1f8af4

Browse files
PraetorPKiChjang
andauthored
Update primitives/runtime/src/traits.rs
Co-authored-by: Keith Yeung <[email protected]>
1 parent 5d1b180 commit e1f8af4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

primitives/runtime/src/traits.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ morph_types! {
541541
pub type Replace<V: TypedGet> = |_| -> V::Type { V::get() };
542542

543543
/// Morpher to disregard the source value.
544-
pub type Ignore = |_| -> () { () };
544+
pub type Ignore = |_| {};
545545

546546
/// Mutator which reduces a scalar by a particular amount.
547547
pub type ReduceBy<N: TypedGet> = |r: N::Type| -> N::Type {

0 commit comments

Comments
 (0)