mirror of
https://github.com/fafhrd91/actix-web
synced 2025-01-30 02:32:36 +01:00
Avoid re-definition
This commit is contained in:
parent
ea28219d0f
commit
cd1765035c
@ -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…
x
Reference in New Issue
Block a user