From 1bc06bc59b048bc803bfd6029c923a73ba2bb3ff Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Fri, 1 Apr 2011 00:00:20 -0400 Subject: Cleanup typos and newlines --- src/comp/middle/trans.rs | 2 +- src/test/run-pass/expr-alt.rs | 2 +- src/test/run-pass/expr-block-box.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/comp/middle/trans.rs b/src/comp/middle/trans.rs index c04e9748..fca1c6c0 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 859c5938..22cdf32a 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 cee2a04c..e8ab6209 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 +} -- cgit v1.2.3