Skip to content

Commit 79c623f

Browse files
committed
some typography
1 parent 63af27f commit 79c623f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/librustc_codegen_llvm/attributes.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -270,10 +270,10 @@ pub fn from_fn_attrs(
270270
// optimize based on this!
271271
false
272272
} else if codegen_fn_attrs.flags.contains(CodegenFnAttrFlags::UNWIND) {
273-
// If a specific #[unwind] attribute is present, use that
273+
// If a specific #[unwind] attribute is present, use that.
274274
true
275275
} else if codegen_fn_attrs.flags.contains(CodegenFnAttrFlags::RUSTC_ALLOCATOR_NOUNWIND) {
276-
// Special attribute for allocator functions, which can't unwind
276+
// Special attribute for allocator functions, which can't unwind.
277277
false
278278
} else {
279279
let sig = cx.tcx.normalize_erasing_late_bound_regions(ty::ParamEnv::reveal_all(), &sig);

src/test/codegen/unwind-extern-exports.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
#[unwind(allowed)]
1313
pub extern fn foo_allowed() {}
1414

15-
// "Rust" ABI (`extrn "Rust"` could be removed as all `fn` get it implicitly; we leave it
16-
// in for clarity.)
15+
// "Rust"
16+
// (`extern "Rust"` could be removed as all `fn` get it implicitly; we leave it in for clarity.)
1717
pub extern "Rust" fn bar() {}
1818
#[unwind(allowed)]
1919
pub extern "Rust" fn bar_allowed() {}

0 commit comments

Comments
 (0)