-
Notifications
You must be signed in to change notification settings - Fork 92
[1.0] Change MatchOptions::default to match MatchOptions::new #170
Open
Milestone
Description
Lines 1084 to 1091 in 97e5ee9
// FIXME: Consider unity the behavior with `default()` in a next major release.
pub fn new() -> Self {
Self {
case_sensitive: true,
require_literal_separator: false,
require_literal_leading_dot: false,
}
}
The Default trait implementation can call new. new could become const.
We don't really need new if we have default, but I think it's fine to keep.
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Give feedbackNo fields configured for issues without a type.