about summary refs log tree commit diff
diff options
context:
space:
mode:
authorIkko Ashimine <eltociear@gmail.com>2022-08-16 16:51:52 +0900
committerGitHub <noreply@github.com>2022-08-16 16:51:52 +0900
commit96c91afebb5a01e6076a7f3de44ea3f2584d9099 (patch)
tree310865a22b27b852899fec207e53e45601e0a3b2
parentef9810a3e2a9a16e79176cb0d3466ea82d239942 (diff)
downloadrust-96c91afebb5a01e6076a7f3de44ea3f2584d9099.tar.gz
rust-96c91afebb5a01e6076a7f3de44ea3f2584d9099.zip
compiletest: fix typo in runtest.rs
nonexistant -> nonexistent
-rw-r--r--src/tools/compiletest/src/runtest.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/compiletest/src/runtest.rs b/src/tools/compiletest/src/runtest.rs
index 47f2a2d3482..3e9e5a03d5e 100644
--- a/src/tools/compiletest/src/runtest.rs
+++ b/src/tools/compiletest/src/runtest.rs
@@ -3761,7 +3761,7 @@ impl<'test> TestCx<'test> {
 
     fn delete_file(&self, file: &PathBuf) {
         if !file.exists() {
-            // Deleting a nonexistant file would error.
+            // Deleting a nonexistent file would error.
             return;
         }
         if let Err(e) = fs::remove_file(file) {