We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents affd950 + 40c74a7 commit c9b3e86Copy full SHA for c9b3e86
src/librustc_lexer/src/cursor.rs
@@ -23,8 +23,8 @@ impl<'a> Cursor<'a> {
23
}
24
25
26
- /// For debug assertions only
27
- /// Returns the last eaten symbol (or '\0' in release builds).
+ /// Returns the last eaten symbol (or `'\0'` in release builds).
+ /// (For debug assertions only.)
28
pub(crate) fn prev(&self) -> char {
29
#[cfg(debug_assertions)]
30
{
0 commit comments