diff options
| author | memoryleak47 <memoryleak47@protonmail.ch> | 2018-04-11 01:34:10 +0200 |
|---|---|---|
| committer | memoryleak47 <memoryleak47@protonmail.ch> | 2018-04-11 01:34:10 +0200 |
| commit | a648267dff08b3243d16e6680f4831300806ce87 (patch) | |
| tree | aaf4b93820b6df7308f8ae186796f6e1111bbb37 /src/tools | |
| parent | 4b9b70c394e7f341b4016fce4cbf763d404b26f9 (diff) | |
| download | rust-a648267dff08b3243d16e6680f4831300806ce87.tar.gz rust-a648267dff08b3243d16e6680f4831300806ce87.zip | |
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'-') } |
