1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-07-01 08:45:10 +02:00

revert DateServiceInner changes

This commit is contained in:
Nikolay Kim
2019-07-18 17:37:41 +06:00
parent 29098f8397
commit 9c3789cbd0
3 changed files with 27 additions and 18 deletions

View File

@ -1,10 +1,10 @@
//! Error and Result module
use std::any::TypeId;
use std::cell::RefCell;
use std::io::Write;
use std::str::Utf8Error;
use std::string::FromUtf8Error;
use std::{fmt, io, result};
use std::any::TypeId;
pub use actix_threadpool::BlockingError;
use actix_utils::timeout::TimeoutError;
@ -81,7 +81,10 @@ pub trait ResponseError: fmt::Debug + fmt::Display {
}
#[doc(hidden)]
fn __private_get_type_id__(&self) -> TypeId where Self: 'static {
fn __private_get_type_id__(&self) -> TypeId
where
Self: 'static,
{
TypeId::of::<Self>()
}
}