Skip to content

Commit cc35572

Browse files
committed
derive Copy trait for MatchOptions
1 parent 172265e commit cc35572

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -945,7 +945,7 @@ fn chars_eq(a: char, b: char, case_sensitive: bool) -> bool {
945945

946946
/// Configuration options to modify the behaviour of `Pattern::matches_with(..)`.
947947
#[allow(missing_copy_implementations)]
948-
#[derive(Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Default)]
948+
#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Default)]
949949
pub struct MatchOptions {
950950
/// Whether or not patterns should be matched in a case-sensitive manner.
951951
/// This currently only considers upper/lower case relationships between

0 commit comments

Comments
 (0)