File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ pub fn error_response(input: TokenStream) -> TokenStream {
122122///
123123/// **`#[error_override(EnumVariant)]`**
124124///
125- /// You can also annotate your route collectors with the `error_override`
125+ /// You can also annotate your route extractors with the `error_override`
126126/// attribute which expects a variant of the error enumerable being returned.
127127/// This will replace any error that may be returned by the collector itself for
128128/// a custom error variant instead.
Original file line number Diff line number Diff line change 1- //! Collector Override Tests
1+ //! Extractor Override Tests
22//!
33//! This file tests how do collector overrides behave,
44//! they should replace the original [`Query`] and [`Json`]
You can’t perform that action at this time.
0 commit comments