Return EOF_CHAR constant instead of magic char.

This commit is contained in:
Hanzhen Liang 2021-01-07 13:20:04 +01:00
parent bf5f30684a
commit f942c3cbf4

View File

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