mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-30 18:57:57 +00:00
Remove useless imports (#11136)
Because `TryInto`/`TryFrom` are in prelude by default from edition 2021 Signed-off-by: koushiro <koushiro.cqx@gmail.com>
This commit is contained in:
@@ -86,13 +86,13 @@ pub enum Error {
|
||||
CannotSign(Vec<u8>, String),
|
||||
}
|
||||
|
||||
impl core::convert::From<Public> for Error {
|
||||
impl From<Public> for Error {
|
||||
fn from(p: Public) -> Self {
|
||||
Self::InvalidAuthority(p)
|
||||
}
|
||||
}
|
||||
|
||||
impl core::convert::From<String> for Error {
|
||||
impl From<String> for Error {
|
||||
fn from(s: String) -> Self {
|
||||
Self::StateUnavailable(s)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user