simple errors for lang-dev
use eprintln in example
bendn 2023-09-14
parent 4756e25 · commit e420265
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 9ca156e..e8933ce 100644
--- a/README.md
+++ b/README.md
@@ -15,7 +15,7 @@ let out = Error::new("Strin::new()")
.label((0..5, "a 'strin' you say"))
.note("i think you meant String")
.to_string();
-println!("{out}");
+eprintln!("{out}");
```
Please note that only one label per line is currently supported, and multiline labels are not yet supported.