diff --git a/crates/television_fuzzy/src/matcher/injector.rs b/crates/television_fuzzy/src/matcher/injector.rs index 9bd42dc..3f7a74d 100644 --- a/crates/television_fuzzy/src/matcher/injector.rs +++ b/crates/television_fuzzy/src/matcher/injector.rs @@ -28,7 +28,7 @@ where /// /// # Example /// ``` - /// use television_fuzzy::matcher::{Config, Matcher}; + /// use television_fuzzy::matcher::{config::Config, Matcher}; /// /// let config = Config::default(); /// let matcher = Matcher::new(config); diff --git a/crates/television_fuzzy/src/matcher/lazy.rs b/crates/television_fuzzy/src/matcher/lazy.rs index 9db553f..d2fe796 100644 --- a/crates/television_fuzzy/src/matcher/lazy.rs +++ b/crates/television_fuzzy/src/matcher/lazy.rs @@ -25,6 +25,8 @@ use std::ops::DerefMut; /// static THING_TO_LAZY_INIT: LazyMutex = LazyMutex::new(|| { /// Thing::new() /// }); +/// +/// let _thing = THING_TO_LAZY_INIT.lock(); /// ``` pub struct LazyMutex { /// The inner value, wrapped in a mutex. @@ -58,7 +60,7 @@ impl LazyMutex { /// This matcher is used as a convenience for computing match indices on a subset of matched items. /// /// # Example -/// ``` +/// ```ignore /// use television_fuzzy::matcher::{lazy::MATCHER, matched_item::MatchedItem}; /// /// let snapshot = channel_matcher.snapshot(); diff --git a/crates/television_fuzzy/src/matcher/mod.rs b/crates/television_fuzzy/src/matcher/mod.rs index 9d77d87..3602814 100644 --- a/crates/television_fuzzy/src/matcher/mod.rs +++ b/crates/television_fuzzy/src/matcher/mod.rs @@ -89,7 +89,7 @@ where /// /// # Example /// ``` - /// use television_fuzzy::matcher::{Config, Matcher}; + /// use television_fuzzy::matcher::{config::Config, Matcher}; /// /// let config = Config::default(); /// let matcher = Matcher::new(config); @@ -139,7 +139,7 @@ where /// /// # Example /// ``` - /// use television_fuzzy::matcher::{Config, Matcher}; + /// use television_fuzzy::matcher::{config::Config, Matcher}; /// /// let config = Config::default(); /// let mut matcher: Matcher = Matcher::new(config); @@ -195,7 +195,7 @@ where /// /// # Example /// ``` - /// use television_fuzzy::matcher::{Config, Matcher}; + /// use television_fuzzy::matcher::{config::Config, Matcher}; /// /// let config = Config::default(); /// let mut matcher: Matcher = Matcher::new(config);