diff options
| author | bors <bors@rust-lang.org> | 2015-09-07 13:59:08 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-09-07 13:59:08 +0000 |
| commit | a7f4a8e50da5525ff44fd61fb2c8f67e92eb072d (patch) | |
| tree | 9c05c80357580edb4322f96d9968cab9aa2dbc98 /src/libstd/rt/mod.rs | |
| parent | a41d4359c5c34c3b11f3b5c03c7e35698729b951 (diff) | |
| parent | e8758e44b40e0ed6cfdf19efe96972624a90758d (diff) | |
| download | rust-a7f4a8e50da5525ff44fd61fb2c8f67e92eb072d.tar.gz rust-a7f4a8e50da5525ff44fd61fb2c8f67e92eb072d.zip | |
Auto merge of #28278 - pfpacket:typo, r=steveklabnik
Diffstat (limited to 'src/libstd/rt/mod.rs')
| -rw-r--r-- | src/libstd/rt/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/rt/mod.rs b/src/libstd/rt/mod.rs index 2cbf81b2fc7..f2bf8757a51 100644 --- a/src/libstd/rt/mod.rs +++ b/src/libstd/rt/mod.rs @@ -119,7 +119,7 @@ fn lang_start(main: *const u8, argc: isize, argv: *const *const u8) -> isize { /// Returns `Ok` if the handler was successfully registered, meaning that the /// closure will be run once the main thread exits. Returns `Err` to indicate /// that the closure could not be registered, meaning that it is not scheduled -/// to be rune. +/// to be run. pub fn at_exit<F: FnOnce() + Send + 'static>(f: F) -> Result<(), ()> { if at_exit_imp::push(Box::new(f)) {Ok(())} else {Err(())} } |
