diff --git a/src/lib.rs b/src/lib.rs index e8935ac..fd42067 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1004,6 +1004,11 @@ impl MatchOptions { /// require_literal_leading_dot: false /// } /// ``` + /// + /// # Note + /// The behavior of this method doesn't match `default()`'s. This returns + /// `case_sensitive` as `true` while `default()` does it as `false`. + // FIXME: Consider unity the behavior with `default()` in a next major release. pub fn new() -> Self { Self { case_sensitive: true,