diff options
| author | kennytm <kennytm@gmail.com> | 2018-04-11 19:56:54 +0800 |
|---|---|---|
| committer | kennytm <kennytm@gmail.com> | 2018-04-12 03:23:21 +0800 |
| commit | 7a7092846cf69eb4cc08567bada37732daa1050a (patch) | |
| tree | 0f9db7171d7adc00f3b41c5c1932ad084e2d96a9 /src/tools | |
| parent | 0629309a7de803ee9125179306228a981bb52078 (diff) | |
| parent | a648267dff08b3243d16e6680f4831300806ce87 (diff) | |
| download | rust-7a7092846cf69eb4cc08567bada37732daa1050a.tar.gz rust-7a7092846cf69eb4cc08567bada37732daa1050a.zip | |
Rollup merge of #49863 - memoryleak47:andorid, r=oli-obk
fixed typo
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/compiletest/src/header.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/compiletest/src/header.rs b/src/tools/compiletest/src/header.rs index e48f42705f1..94a6353ad24 100644 --- a/src/tools/compiletest/src/header.rs +++ b/src/tools/compiletest/src/header.rs @@ -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'-') } |
