Rollup merge of #80780 - lianghanzhen:master, r=petrochenkov
Return EOF_CHAR constant instead of magic char.
This commit is contained in:
commit
695f18ebab
@ -33,7 +33,7 @@ pub(crate) fn prev(&self) -> char {
|
||||
|
||||
#[cfg(not(debug_assertions))]
|
||||
{
|
||||
'\0'
|
||||
EOF_CHAR
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user