mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-09 20:11:09 +00:00
Make all PerThing types implement all trait methods on the type (#5422)
This removes the requirement to import `PerThing` to use a type that implements the trait.
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
|
||||
//! Provides some utilities to define a piecewise linear function.
|
||||
|
||||
use crate::{Perbill, PerThing, traits::{AtLeast32Bit, SaturatedConversion}};
|
||||
use crate::{Perbill, traits::{AtLeast32Bit, SaturatedConversion}};
|
||||
use core::ops::Sub;
|
||||
|
||||
/// Piecewise Linear function in [0, 1] -> [0, 1].
|
||||
|
||||
Reference in New Issue
Block a user