mirror of
https://github.com/actix/actix-web.git
synced 2024-11-26 11:31:09 +00:00
Avoid re-definition
This commit is contained in:
parent
ea28219d0f
commit
cd1765035c
1 changed files with 0 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue