From 28b823f7c723bdfc95b3728b3747a25e37028d66 Mon Sep 17 00:00:00 2001 From: Carter Snook Date: Fri, 27 Oct 2023 08:40:08 -0500 Subject: [PATCH] Update crates/ruff_python_parser/src/string.rs Co-authored-by: Dhruv Manilawala --- crates/ruff_python_parser/src/string.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/ruff_python_parser/src/string.rs b/crates/ruff_python_parser/src/string.rs index 6723e1ef94d96..406a04950e245 100644 --- a/crates/ruff_python_parser/src/string.rs +++ b/crates/ruff_python_parser/src/string.rs @@ -89,7 +89,8 @@ impl<'a> StringParser<'a> { /// Returns the next byte in the string, if there is one. /// /// # Panics - /// - When the next byte is a part of a multi-byte character. + /// + /// When the next byte is a part of a multi-byte character. #[inline] fn next_byte(&mut self) -> Option { self.rest.as_bytes().first().map(|&byte| {