]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_lexer/src/cursor.rs
Auto merge of #80790 - JohnTitor:rollup-js1noez, r=JohnTitor
[rust.git] / compiler / rustc_lexer / src / cursor.rs
index c0045d3f79be1ffca53fd956aa0251a53d6a8692..297f3d19ca1781eb9cc5494584829b4cda07fd07 100644 (file)
@@ -33,7 +33,7 @@ pub(crate) fn prev(&self) -> char {
 
         #[cfg(not(debug_assertions))]
         {
-            '\0'
+            EOF_CHAR
         }
     }