mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 07:14:46 +00:00
clippy
This commit is contained in:
parent
6ba54c986f
commit
656dd18177
2 changed files with 10 additions and 10 deletions
|
@ -1220,7 +1220,7 @@ fn parse_and_constrain<'a>(
|
|||
// SAFETY: By this point we've already incrementally verified that there
|
||||
// are no UTF-8 errors in these bytes. If there had been any UTF-8 errors,
|
||||
// we'd have bailed out before now.
|
||||
let src = unsafe { from_utf8_unchecked(header.src.as_ref()) };
|
||||
let src = unsafe { from_utf8_unchecked(header.src) };
|
||||
|
||||
// Send the constraint to the main thread for processing.
|
||||
Ok(Msg::Constrained {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue