Skip to content

Commit

Permalink
Cleanup typos and newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
brson committed Apr 1, 2011
1 parent efb7381 commit 1bc06bc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/comp/middle/trans.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/test/run-pass/expr-alt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ fn test() {

fn main() {
test();
}
}
2 changes: 1 addition & 1 deletion src/test/run-pass/expr-block-box.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ fn main() {
};

check (*x == 100);
}
}

0 comments on commit 1bc06bc

Please sign in to comment.