diff --git a/Cargo.lock b/Cargo.lock index b3859b1..6f229a6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -225,7 +225,7 @@ dependencies = [ [[package]] name = "ucg" -version = "0.1.7" +version = "0.1.8" dependencies = [ "bencher 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", "clap 2.26.2 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/Cargo.toml b/Cargo.toml index 27f754b..27265ef 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ucg" -version = "0.1.7" +version = "0.1.8" authors = ["Jeremy Wall "] description = "A configuration generation grammar." repository = "https://github.com/zaphar/ucg" diff --git a/src/lib.rs b/src/lib.rs index ce4331c..0f5b0bc 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -339,9 +339,9 @@ //! A filter expression starts with the filter keyword followed by the name of a macro with exactly //! one argument, a `.`, and the name of the output field for the macro. The filter will apply the //! macro to each element of the list and if the output field is a value that is not NULL then the -//! list element is appended to the output list. If the output field returns a NULL Value then the -//! element is not appended to the output list. If the output field does not exist in the macro it -//! will be a compile error. +//! list element is appended to the output list. If the output field returns a NULL Value or Boolean +//! false then the element is not appended to the output list. If the output field does not exist in +//! the macro it will be a compile error. //! //! ```ucg //! let list = ["foo", "bar", "foo", "bar"];