mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-02 19:32:17 +00:00
1.65 changes and clippy fixes
This commit is contained in:
parent
8f62eeaf7e
commit
a97c53d7ca
17 changed files with 37 additions and 19 deletions
|
@ -399,7 +399,7 @@ where
|
|||
let is_doc_comment = state.bytes().first() == Some(&b'#')
|
||||
&& (state.bytes().get(1) == Some(&b' ')
|
||||
|| state.bytes().get(1) == Some(&b'\n')
|
||||
|| state.bytes().get(1) == None);
|
||||
|| Option::is_none(&state.bytes().get(1)));
|
||||
|
||||
if is_doc_comment {
|
||||
state.advance_mut(1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue