Edit cursor.prev() method docs in lexer
Fix missing punctuation
This commit is contained in:
parent
25687caa2e
commit
40c74a7eb7
1 changed files with 2 additions and 2 deletions
|
@ -23,8 +23,8 @@ impl<'a> Cursor<'a> {
|
|||
}
|
||||
}
|
||||
|
||||
/// For debug assertions only
|
||||
/// Returns the last eaten symbol (or '\0' in release builds).
|
||||
/// Returns the last eaten symbol (or `'\0'` in release builds).
|
||||
/// (For debug assertions only.)
|
||||
pub(crate) fn prev(&self) -> char {
|
||||
#[cfg(debug_assertions)]
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue