removed editor-folds

This commit is contained in:
p0lunin 2020-07-06 15:42:07 +03:00
parent 96a92b6ec2
commit fe8146767e

View file

@ -3,7 +3,6 @@ use reqwest::StatusCode;
use serde::Deserialize; use serde::Deserialize;
use thiserror::Error; use thiserror::Error;
//<editor-fold desc="download">
/// An error occurred after downloading a file. /// An error occurred after downloading a file.
#[derive(Debug, Error, From)] #[derive(Debug, Error, From)]
pub enum DownloadError { pub enum DownloadError {
@ -14,9 +13,6 @@ pub enum DownloadError {
Io(#[source] std::io::Error), Io(#[source] std::io::Error),
} }
//</editor-fold>
//<editor-fold desc="request">
/// An error occurred after making a request to Telegram. /// An error occurred after making a request to Telegram.
#[derive(Debug, Error)] #[derive(Debug, Error)]
pub enum RequestError { pub enum RequestError {
@ -40,8 +36,6 @@ pub enum RequestError {
InvalidJson(#[source] serde_json::Error), InvalidJson(#[source] serde_json::Error),
} }
//</editor-fold>
/// A kind of an API error returned from Telegram. /// A kind of an API error returned from Telegram.
#[derive(Debug, Deserialize, PartialEq, Copy, Hash, Eq, Clone)] #[derive(Debug, Deserialize, PartialEq, Copy, Hash, Eq, Clone)]
pub enum ApiErrorKind { pub enum ApiErrorKind {