Mark dead code explicitly

This commit is contained in:
Ivan 2024-07-27 08:46:33 +02:00
parent 81755c55d2
commit e08821bff7
5 changed files with 11 additions and 0 deletions

View file

@ -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>;
}