From b7bfe04b2d003d08f6ac450f41d7f221cb87f129 Mon Sep 17 00:00:00 2001 From: Joseph Crail Date: Tue, 2 Sep 2014 01:35:58 -0400 Subject: Fix spelling errors and capitalization. --- src/libsyntax/ext/format.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libsyntax/ext') diff --git a/src/libsyntax/ext/format.rs b/src/libsyntax/ext/format.rs index 0994abaadc7..3c6cf54a6cf 100644 --- a/src/libsyntax/ext/format.rs +++ b/src/libsyntax/ext/format.rs @@ -501,7 +501,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. -- cgit 1.4.1-3-g733a5