Better function parameter names.

This commit is contained in:
Stephen Chung
2021-08-13 13:42:39 +08:00
parent 4bf22e6cb7
commit dba4510456
11 changed files with 174 additions and 97 deletions

View File

@@ -1266,11 +1266,12 @@ fn eat_next(stream: &mut impl InputStream, pos: &mut Position) -> Option<char> {
/// Scan for a block comment until the end.
fn scan_block_comment(
stream: &mut impl InputStream,
mut level: usize,
level: usize,
pos: &mut Position,
mut comment: Option<&mut String>,
comment: Option<&mut String>,
) -> usize {
let comment = &mut comment;
let mut level = level;
let mut comment = comment;
while let Some(c) = stream.get_next() {
pos.advance();