Add FromStr constraint to BlockNumber, bump version (#56)

This commit is contained in:
Andrew Jones
2019-12-17 12:33:46 +00:00
committed by GitHub
parent 6561535467
commit a9df35c570
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -71,7 +71,8 @@ pub trait System: 'static + Eq + Clone + Debug {
+ Default
+ Bounded
+ Copy
+ std::hash::Hash;
+ std::hash::Hash
+ std::str::FromStr;
/// The output of the `Hashing` function.
type Hash: Parameter