unify database record separator constants
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
6808671751
commit
0426f92ac0
3 changed files with 6 additions and 4 deletions
|
@ -41,8 +41,7 @@ pub struct Ignore;
|
|||
pub struct IgnoreAll;
|
||||
|
||||
impl<'de> Deserializer<'de> {
|
||||
/// Record separator; an intentionally invalid-utf8 byte.
|
||||
const SEP: u8 = b'\xFF';
|
||||
const SEP: u8 = crate::ser::SEP;
|
||||
|
||||
/// Determine if the input was fully consumed and error if bytes remaining.
|
||||
/// This is intended for debug assertions; not optimized for parsing logic.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue