Skip to content

Commit 33f411e

Browse files
committed
docs(rustdoc): Changed all the 'Collector' references for 'Extractor'.
1 parent c11cb9a commit 33f411e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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.

tests/collector_override.rs renamed to tests/extractor_override.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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`]

0 commit comments

Comments
 (0)