Skip to content

Commit 1bc06bc

Browse files
committed
Cleanup typos and newlines
1 parent efb7381 commit 1bc06bc

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/comp/middle/trans.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5388,7 +5388,7 @@ fn trans_block(@block_ctxt cx, &ast.block b) -> result {
53885388

53895389
if (ty.type_is_boxed(r_ty)) {
53905390
// The value resulting from the block gets copied into an
5391-
// alloca created in an outer scope and it's refcount
5391+
// alloca created in an outer scope and its refcount
53925392
// bumped so that it can escape this block. This means
53935393
// that it will definitely live until the end of the
53945394
// enclosing scope, even if nobody uses it, which may be

src/test/run-pass/expr-alt.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ fn test() {
2828

2929
fn main() {
3030
test();
31-
}
31+
}

src/test/run-pass/expr-block-box.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ fn main() {
77
};
88

99
check (*x == 100);
10-
}
10+
}

0 commit comments

Comments
 (0)