From a648267dff08b3243d16e6680f4831300806ce87 Mon Sep 17 00:00:00 2001 From: memoryleak47 Date: Wed, 11 Apr 2018 01:34:10 +0200 Subject: [PATCH] fixed typo --- src/tools/compiletest/src/header.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/compiletest/src/header.rs b/src/tools/compiletest/src/header.rs index e48f42705f16a..94a6353ad2431 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'-') }