File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -719,7 +719,7 @@ impl Modifiers {
719
719
}
720
720
721
721
/// Checks that the `ctrl/cmd` matches, and that the `shift/alt` of the argument is a subset
722
- /// of the pressed ksey (`self`).
722
+ /// of the pressed key (`self`).
723
723
///
724
724
/// This means that if the pattern has not set `shift`, then `self` can have `shift` set or not.
725
725
///
Original file line number Diff line number Diff line change @@ -80,12 +80,12 @@ impl BytesLoader for FileLoader {
80
80
move || {
81
81
let result = match std:: fs:: read ( & path) {
82
82
Ok ( bytes) => {
83
- #[ cfg( feature = "mime_guess " ) ]
83
+ #[ cfg( feature = "file " ) ]
84
84
let mime = mime_guess2:: from_path ( & path)
85
85
. first_raw ( )
86
86
. map ( |v| v. to_owned ( ) ) ;
87
87
88
- #[ cfg( not( feature = "mime_guess " ) ) ]
88
+ #[ cfg( not( feature = "file " ) ) ]
89
89
let mime = None ;
90
90
91
91
Ok ( File {
You can’t perform that action at this time.
0 commit comments