Mark dead code explicitly
This commit is contained in:
parent
81755c55d2
commit
e08821bff7
5 changed files with 11 additions and 0 deletions
|
|
@ -155,6 +155,7 @@ impl IntoResponse for ApiError {
|
|||
|
||||
pub trait ApiErrorExt<T> {
|
||||
fn with_error_status_code(self, s: StatusCode) -> Result<T, ApiError>;
|
||||
#[allow(dead_code)]
|
||||
fn with_plaintext_error(self, value: bool) -> Result<T, ApiError>;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue