mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
Return EOF_CHAR constant instead of magic char.
This commit is contained in:
parent
bf5f30684a
commit
f942c3cbf4
@ -33,7 +33,7 @@ impl<'a> Cursor<'a> {
|
||||
|
||||
#[cfg(not(debug_assertions))]
|
||||
{
|
||||
'\0'
|
||||
EOF_CHAR
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user