Rollup merge of #80780 - lianghanzhen:master, r=petrochenkov

Return EOF_CHAR constant instead of magic char.
This commit is contained in:
Yuki Okushi 2021-01-08 02:06:18 +09:00 committed by GitHub
commit 695f18ebab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,7 @@ pub(crate) fn prev(&self) -> char {
#[cfg(not(debug_assertions))]
{
'\0'
EOF_CHAR
}
}