Avoid re-definition

This commit is contained in:
Yuki Okushi 2020-02-26 09:41:15 +09:00
parent ea28219d0f
commit cd1765035c
1 changed files with 0 additions and 6 deletions
actix-http/src

View File

@ -59,12 +59,6 @@ impl Error {
}
}
/// A struct with a private constructor, for use with
/// `__private_get_type_id__`. Its single field is private,
/// ensuring that it can only be constructed from this module
#[doc(hidden)]
pub struct PrivateHelper(());
/// Error that can be converted to `Response`
pub trait ResponseError: fmt::Debug + fmt::Display {
/// Response's status code