about summary refs log tree commit diff
path: root/src/libstd/rt
diff options
context:
space:
mode:
authorRyo Munakata <afpacket@gmail.com>2015-09-07 10:28:54 +0900
committerRyo Munakata <afpacket@gmail.com>2015-09-07 10:28:54 +0900
commite8758e44b40e0ed6cfdf19efe96972624a90758d (patch)
tree69ffafd53a313dcc07be4c7a96811fe8464e904a /src/libstd/rt
parentf6aac80375ee8ec63522affc09e0cd5c4f888b44 (diff)
downloadrust-e8758e44b40e0ed6cfdf19efe96972624a90758d.tar.gz
rust-e8758e44b40e0ed6cfdf19efe96972624a90758d.zip
at_exit: fix a typo of the doc comment
Diffstat (limited to 'src/libstd/rt')
-rw-r--r--src/libstd/rt/mod.rs2
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(())}
 }