about summary refs log tree commit diff
path: root/src/libsyntax/ext/format.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-09-04 18:30:59 +0000
committerbors <bors@rust-lang.org>2014-09-04 18:30:59 +0000
commitd3e7922ddd5f2abfa4d5139e8bca5fab3e796f33 (patch)
tree1b6d41765ea51745549db326611a726287f20958 /src/libsyntax/ext/format.rs
parentbef51ba234a42c52939bcb0f8a5deb7c345d8eba (diff)
parentb7bfe04b2d003d08f6ac450f41d7f221cb87f129 (diff)
downloadrust-d3e7922ddd5f2abfa4d5139e8bca5fab3e796f33.tar.gz
rust-d3e7922ddd5f2abfa4d5139e8bca5fab3e796f33.zip
auto merge of #16982 : jbcrail/rust/comment-and-string-corrections, r=alexcrichton
I corrected spelling and capitalization errors in comments and strings.
Diffstat (limited to 'src/libsyntax/ext/format.rs')
-rw-r--r--src/libsyntax/ext/format.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/ext/format.rs b/src/libsyntax/ext/format.rs
index aa2c51c0225..b3bb01e1d04 100644
--- a/src/libsyntax/ext/format.rs
+++ b/src/libsyntax/ext/format.rs
@@ -504,7 +504,7 @@ impl<'a, 'b> Context<'a, 'b> {
         // Right now there is a bug such that for the expression:
         //      foo(bar(&1))
         // the lifetime of `1` doesn't outlast the call to `bar`, so it's not
-        // vald for the call to `foo`. To work around this all arguments to the
+        // valid for the call to `foo`. To work around this all arguments to the
         // format! string are shoved into locals. Furthermore, we shove the address
         // of each variable because we don't want to move out of the arguments
         // passed to this function.