Просмотр исходного кода

dchat: renamed error to dchat_error

lunar-mining 4 лет назад
Родитель
Сommit
46c33008f2
1 измененных файлов с 0 добавлено и 4 удалено
  1. 0 4
      example/dchat/src/dchat_error.rs

+ 0 - 4
example/dchat/src/error.rs → example/dchat/src/dchat_error.rs

@@ -1,8 +1,5 @@
 use std::{error, fmt};
 
-pub type Error = Box<dyn error::Error>;
-pub type Result<T> = std::result::Result<T, Error>;
-
 #[derive(Debug, Clone)]
 pub struct ErrorMissingSpecifier;
 
@@ -13,4 +10,3 @@ impl fmt::Display for ErrorMissingSpecifier {
 }
 
 impl error::Error for ErrorMissingSpecifier {}
-