We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
new()
default()
1 parent 80588ef commit 6631fd7Copy full SHA for 6631fd7
src/lib.rs
@@ -1004,6 +1004,11 @@ impl MatchOptions {
1004
/// require_literal_leading_dot: false
1005
/// }
1006
/// ```
1007
+ ///
1008
+ /// # Note
1009
+ /// The behavior of this method doesn't match `default()`'s. This returns
1010
+ /// `case_sensitive` as `true` while `default()` does it as `false`.
1011
+ // FIXME: Consider unity the behavior with `default()` in a next major release.
1012
pub fn new() -> Self {
1013
Self {
1014
case_sensitive: true,
0 commit comments