Skip to content

Commit dae0a79

Browse files
committed
Bump to 0.2.6
1 parent 4eac2ff commit dae0a79

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22

33
name = "glob"
4-
version = "0.2.5"
4+
version = "0.2.6"
55
authors = ["The Rust Project Developers"]
66
license = "MIT/Apache-2.0"
77
homepage = "https://github.com/rust-lang/glob"

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ pub fn glob_with(pattern: &str, options: &MatchOptions)
138138
fn check_windows_verbatim(p: &Path) -> bool {
139139
use std::path::Prefix;
140140
match p.components().next() {
141-
Some(Component::Prefix(ref p)) => p.is_verbatim(),
141+
Some(Component::Prefix(ref p)) => p.kind().is_verbatim(),
142142
_ => false
143143
}
144144
}

0 commit comments

Comments
 (0)