remove unused error InvalidCode and improve docs (#11383)

This commit is contained in:
yjh
2022-05-16 16:25:34 +08:00
committed by GitHub
parent a5d0a65bf4
commit bf694d3c0e
3 changed files with 2 additions and 9 deletions
@@ -43,9 +43,6 @@ pub enum Error {
#[error("Method not found: '{0}'")]
MethodNotFound(String),
#[error("Invalid Code (expected single byte): '{0}'")]
InvalidCode(String),
#[error("On-chain runtime does not specify version")]
VersionInvalid,