Skip to content

Commit a7f4a8e

Browse files
committed
Auto merge of #28278 - pfpacket:typo, r=steveklabnik
2 parents a41d435 + e8758e4 commit a7f4a8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/rt/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ fn lang_start(main: *const u8, argc: isize, argv: *const *const u8) -> isize {
119119
/// Returns `Ok` if the handler was successfully registered, meaning that the
120120
/// closure will be run once the main thread exits. Returns `Err` to indicate
121121
/// that the closure could not be registered, meaning that it is not scheduled
122-
/// to be rune.
122+
/// to be run.
123123
pub fn at_exit<F: FnOnce() + Send + 'static>(f: F) -> Result<(), ()> {
124124
if at_exit_imp::push(Box::new(f)) {Ok(())} else {Err(())}
125125
}

0 commit comments

Comments
 (0)