mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 11:52:19 +00:00
clippy
add basic test case for now in helloworld reset helloworld back to original example reset helloworld back to original example
This commit is contained in:
parent
08179d2a65
commit
ff414610ca
1 changed files with 1 additions and 1 deletions
|
@ -377,7 +377,7 @@ pub fn constrain_expr(
|
|||
}
|
||||
IngestedFile(bytes, anno) => match &anno.typ {
|
||||
Type::Apply(Symbol::STR_STR, _, _) => {
|
||||
if let Err(_) = std::str::from_utf8(bytes) {
|
||||
if std::str::from_utf8(bytes).is_err() {
|
||||
todo!("cause an error for the type being wrong due to not being a utf8 string");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue