fix: typo

This commit is contained in:
Shunsuke Shibayama 2023-06-09 22:23:25 +09:00
parent 138afe2af4
commit ce6a6dbecd
2 changed files with 4 additions and 4 deletions

View file

@ -946,7 +946,7 @@ impl LowerError {
Some(hint.to_string())
}
(None, Some(py)) => {
py_str.push_str("similar name python module exits: ");
py_str.push_str("similar name python module exists: ");
py_str.push_str_with_color_and_attr(py, HINT, ATTR);
let mut hint = StyledStrings::default();
hint.push_str("to import python modules, use ");

View file

@ -1,6 +1,6 @@
result = if Bool.sample():
0
1
result = if Bool.sample!():
do 0
do 1
print! result
if True, () -> log "hello"