Rollup merge of #49863 - memoryleak47:andorid, r=oli-obk

fixed typo
This commit is contained in:
kennytm 2018-04-11 19:56:54 +08:00
commit 7a7092846c
No known key found for this signature in database
GPG key ID: FEF6C8051D0E013C

View file

@ -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'-')
}