From 4556d6a04a240b06a7abc02b25697d5309a997ca Mon Sep 17 00:00:00 2001 From: Valentin Brandl Date: Sat, 4 May 2019 15:33:21 +0200 Subject: [PATCH] Add custom result type --- src/error.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/error.rs b/src/error.rs index 07845cf..55f27b2 100644 --- a/src/error.rs +++ b/src/error.rs @@ -2,6 +2,8 @@ use crate::P500; use actix_web::{HttpResponse, ResponseError}; use std::fmt; +pub(crate) type Result = std::result::Result; + #[derive(Debug)] pub(crate) enum Error { Badge(String),