Rollup merge of #80780 - lianghanzhen:master, r=petrochenkov
Return EOF_CHAR constant instead of magic char.
This commit is contained in:
commit
695f18ebab
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ impl<'a> Cursor<'a> {
|
|||
|
||||
#[cfg(not(debug_assertions))]
|
||||
{
|
||||
'\0'
|
||||
EOF_CHAR
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue