From fe8146767e132e968fd561d3d5a5fd3aaf023275 Mon Sep 17 00:00:00 2001 From: p0lunin Date: Mon, 6 Jul 2020 15:42:07 +0300 Subject: [PATCH] removed editor-folds --- src/errors.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/errors.rs b/src/errors.rs index bfbd3be2..33cd57fc 100644 --- a/src/errors.rs +++ b/src/errors.rs @@ -3,7 +3,6 @@ use reqwest::StatusCode; use serde::Deserialize; use thiserror::Error; -// /// An error occurred after downloading a file. #[derive(Debug, Error, From)] pub enum DownloadError { @@ -14,9 +13,6 @@ pub enum DownloadError { Io(#[source] std::io::Error), } -// - -// /// An error occurred after making a request to Telegram. #[derive(Debug, Error)] pub enum RequestError { @@ -40,8 +36,6 @@ pub enum RequestError { InvalidJson(#[source] serde_json::Error), } -// - /// A kind of an API error returned from Telegram. #[derive(Debug, Deserialize, PartialEq, Copy, Hash, Eq, Clone)] pub enum ApiErrorKind {