fixed typo
This commit is contained in:
parent
4b9b70c394
commit
a648267dff
1 changed files with 1 additions and 1 deletions
|
@ -595,7 +595,7 @@ impl Config {
|
|||
fn has_cfg_prefix(&self, line: &str, prefix: &str) -> bool {
|
||||
// returns whether this line contains this prefix or not. For prefix
|
||||
// "ignore", returns true if line says "ignore-x86_64", "ignore-arch",
|
||||
// "ignore-andorid" etc.
|
||||
// "ignore-android" etc.
|
||||
line.starts_with(prefix) && line.as_bytes().get(prefix.len()) == Some(&b'-')
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue