Browse Source

Clarify README example by adding a more descriptive print message

Taylor Cramer 8 years ago
parent
commit
a4bc061a97
1 changed files with 2 additions and 2 deletions
  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() {