about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOliver Schneider <git-no-reply-9879165716479413131@oli-obk.de>2018-05-08 17:29:09 +0200
committerOliver Schneider <git-no-reply-9879165716479413131@oli-obk.de>2018-05-22 10:54:06 +0200
commit61c58c2f6710913a315c4c13dfc3b3cb088af18a (patch)
tree4297d554256c0e6b69bf934da2d752ca09da552d
parentcfb68164246a28299ecfcb26bb8e463e49e10fbb (diff)
downloadrust-61c58c2f6710913a315c4c13dfc3b3cb088af18a.tar.gz
rust-61c58c2f6710913a315c4c13dfc3b3cb088af18a.zip
Fix a typo in a comment
-rw-r--r--src/test/compile-fail/const-fn-destructuring-arg.rs2
-rw-r--r--src/test/run-pass/ctfe/const-fn-destructuring-arg.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/compile-fail/const-fn-destructuring-arg.rs b/src/test/compile-fail/const-fn-destructuring-arg.rs
index e239bd701c5..fce1688716d 100644
--- a/src/test/compile-fail/const-fn-destructuring-arg.rs
+++ b/src/test/compile-fail/const-fn-destructuring-arg.rs
@@ -8,7 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-// test that certain things are disallowed in constant functionssignatures
+// test that certain things are disallowed in constant functions
 
 #![feature(const_fn)]
 
diff --git a/src/test/run-pass/ctfe/const-fn-destructuring-arg.rs b/src/test/run-pass/ctfe/const-fn-destructuring-arg.rs
index d22c94074fb..8b832976aab 100644
--- a/src/test/run-pass/ctfe/const-fn-destructuring-arg.rs
+++ b/src/test/run-pass/ctfe/const-fn-destructuring-arg.rs
@@ -8,7 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-// test that certain things are disallowed in constant functionssignatures
+// test that certain things are disallowed in constant functions
 
 #![feature(const_fn, const_let)]