Ver Fonte

Clarify README example by adding a more descriptive print message

Taylor Cramer há 8 anos atrás
pai
commit
a4bc061a97
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      README.md

+ 2 - 2
README.md

@@ -63,7 +63,7 @@ You can set custom OOM handlers, by:
 extern crate ralloc;
 
 fn my_handler() -> ! {
-    println!("Oh no. Blame the Mexicans.");
+    println!("Oh no! You ran out of memory.");
 }
 
 fn main() {
@@ -80,7 +80,7 @@ You can override the global OOM handler for your current thread. Enable the `thr
 extern crate ralloc;
 
 fn my_handler() -> ! {
-    println!("Oh no. Blame the Mexicans.");
+    println!("Oh no! You ran out of memory.");
 }
 
 fn main() {