mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 01:15:14 +02:00
Fix Windows doc comments (#4643)
* WIP windows doc comments * WIP windows doc comments * WIP windows doc comments * actual fix this time
This commit is contained in:
@ -276,7 +276,7 @@ pub fn lex(
|
||||
let mut start = curr_offset;
|
||||
|
||||
while let Some(input) = input.get(curr_offset) {
|
||||
if *input == b'\n' || *input == b'\r' {
|
||||
if *input == b'\n' {
|
||||
if !skip_comment {
|
||||
output.push(Token::new(
|
||||
TokenContents::Comment,
|
||||
|
Reference in New Issue
Block a user