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
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ impl<'a> Cursor<'a> {
#[cfg(not(debug_assertions))]
{
'\0'
EOF_CHAR
}
}