From a701230e9db3ef99a8543baa2af8b5bc29370955 Mon Sep 17 00:00:00 2001 From: Gerard Guillemas Martos Date: Thu, 4 Jul 2024 17:56:37 +0200 Subject: [PATCH] Fix peeking in `parse_uuid` (#4304) --- core/src/syn/parser/basic/uuid.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/syn/parser/basic/uuid.rs b/core/src/syn/parser/basic/uuid.rs index 2e601a6d..7f4976b0 100644 --- a/core/src/syn/parser/basic/uuid.rs +++ b/core/src/syn/parser/basic/uuid.rs @@ -12,7 +12,7 @@ use crate::{ impl Parser<'_> { /// Parses a uuid strand. pub fn parse_uuid(&mut self) -> ParseResult { - let quote_token = self.peek_whitespace(); + let quote_token = self.peek(); let double = match quote_token.kind { t!("u\"") => true,