ソースを参照

Clarify README example by adding a more descriptive print message

Taylor Cramer 8 年 前
コミット
a4bc061a97
1 ファイル変更2 行追加2 行削除
  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() {