bug fixed
This commit is contained in:
parent
cd6dbe0429
commit
84c971ac62
|
@ -127,7 +127,6 @@ impl fmt::Display for Error {
|
|||
pub const SERVER_99: i32 = -32099;
|
||||
}
|
||||
|
||||
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct InvalidParamsDetail {
|
||||
#[prost(string, tag = "1")]
|
||||
|
@ -157,7 +156,6 @@ pub enum InvalidParamsType {
|
|||
Url = 10,
|
||||
}
|
||||
|
||||
|
||||
impl From<i32> for InvalidParamsType {
|
||||
fn from(s: i32) -> Self {
|
||||
match s {
|
||||
|
@ -175,4 +173,3 @@ impl From<i32> for InvalidParamsType {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user