Skip to content

Commit

Permalink
Rollup merge of rust-lang#49863 - memoryleak47:andorid, r=oli-obk
Browse files Browse the repository at this point in the history
fixed typo
  • Loading branch information
kennytm committed Apr 11, 2018
2 parents 0629309 + a648267 commit 7a70928
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/compiletest/src/header.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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'-')
}

Expand Down

0 comments on commit 7a70928

Please sign in to comment.