From e95ffe13b743ed2c40e763f2304f3b58892f5a48 Mon Sep 17 00:00:00 2001 From: Waffle Date: Mon, 16 Sep 2019 21:19:46 +0300 Subject: [PATCH] Fix docs for `all!` and `any!` macroses --- src/dispatcher/filter.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dispatcher/filter.rs b/src/dispatcher/filter.rs index b783d31f..e1c267ad 100644 --- a/src/dispatcher/filter.rs +++ b/src/dispatcher/filter.rs @@ -180,7 +180,7 @@ pub fn not(a: A) -> Not { Not::new(a) } -/// Return [filter] that passes if and only if all given filters passes. +/// Return [filter] that passes if and only if all of the given filters passes. /// /// **NOTE**: if one of filters don't pass /// it is **not** guaranteed that other will be executed. @@ -211,7 +211,7 @@ macro_rules! all { }; } -/// Return [filter] that passes if and only if any given filters passes. +/// Return [filter] that passes if any of the given filters passes. /// /// **NOTE**: if one of filters passes /// it is **not** guaranteed that other will be executed.