Fix peeking in parse_uuid (#4304)

This commit is contained in:
Gerard Guillemas Martos 2024-07-04 17:56:37 +02:00 committed by GitHub
parent 12ddb94508
commit a701230e9d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -12,7 +12,7 @@ use crate::{
impl Parser<'_> {
/// Parses a uuid strand.
pub fn parse_uuid(&mut self) -> ParseResult<Uuid> {
let quote_token = self.peek_whitespace();
let quote_token = self.peek();
let double = match quote_token.kind {
t!("u\"") => true,