about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorBrian Anderson <andersrb@gmail.com>2011-04-01 00:00:20 -0400
committerBrian Anderson <andersrb@gmail.com>2011-04-01 00:05:13 -0400
commit1bc06bc59b048bc803bfd6029c923a73ba2bb3ff (patch)
tree579cb566f48b548077d6c3c870502a1b3c29770e /src
parentefb738153c7248601a9a1b294b0ad8fd9c27023c (diff)
downloadrust-1bc06bc59b048bc803bfd6029c923a73ba2bb3ff.tar.gz
rust-1bc06bc59b048bc803bfd6029c923a73ba2bb3ff.zip
Cleanup typos and newlines
Diffstat (limited to 'src')
-rw-r--r--src/comp/middle/trans.rs2
-rw-r--r--src/test/run-pass/expr-alt.rs2
-rw-r--r--src/test/run-pass/expr-block-box.rs2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/comp/middle/trans.rs b/src/comp/middle/trans.rs
index c04e97489a8..fca1c6c0bc2 100644
--- a/src/comp/middle/trans.rs
+++ b/src/comp/middle/trans.rs
@@ -5388,7 +5388,7 @@ fn trans_block(@block_ctxt cx, &ast.block b) -> result {
 
                 if (ty.type_is_boxed(r_ty)) {
                     // The value resulting from the block gets copied into an
-                    // alloca created in an outer scope and it's refcount
+                    // alloca created in an outer scope and its refcount
                     // bumped so that it can escape this block. This means
                     // that it will definitely live until the end of the
                     // enclosing scope, even if nobody uses it, which may be
diff --git a/src/test/run-pass/expr-alt.rs b/src/test/run-pass/expr-alt.rs
index 859c593850a..22cdf32a672 100644
--- a/src/test/run-pass/expr-alt.rs
+++ b/src/test/run-pass/expr-alt.rs
@@ -28,4 +28,4 @@ fn test() {
 
 fn main() {
   test();
-}
\ No newline at end of file
+}
diff --git a/src/test/run-pass/expr-block-box.rs b/src/test/run-pass/expr-block-box.rs
index cee2a04c1ae..e8ab62091a5 100644
--- a/src/test/run-pass/expr-block-box.rs
+++ b/src/test/run-pass/expr-block-box.rs
@@ -7,4 +7,4 @@ fn main() {
   };
 
   check (*x == 100);
-}
\ No newline at end of file
+}