Skip to content

Commit bf60661

Browse files
author
Veetaha
committed
ra_syntax: remove backticks from TokenizeError message since that is not Markdown ;(
1 parent c6d0881 commit bf60661

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

crates/ra_syntax/src/syntax_error.rs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -126,31 +126,31 @@ impl fmt::Display for TokenizeError {
126126
TokenizeError::EmptyInt => "Missing digits after integer base prefix",
127127
TokenizeError::EmptyExponent => "Missing digits after the exponent symbol",
128128
TokenizeError::UnterminatedBlockComment => {
129-
"Missing trailing `*/` symbols to terminate the block comment"
129+
"Missing trailing */ symbols to terminate the block comment"
130130
}
131131
TokenizeError::UnterminatedChar => {
132-
"Missing trailing `'` symbol to terminate the character literal"
132+
"Missing trailing ' symbol to terminate the character literal"
133133
}
134134
TokenizeError::UnterminatedByte => {
135-
"Missing trailing `'` symbol to terminate the byte literal"
135+
"Missing trailing ' symbol to terminate the byte literal"
136136
}
137137
TokenizeError::UnterminatedString => {
138-
"Missing trailing `\"` symbol to terminate the string literal"
138+
"Missing trailing \" symbol to terminate the string literal"
139139
}
140140
TokenizeError::UnterminatedByteString => {
141-
"Missing trailing `\"` symbol to terminate the byte string literal"
141+
"Missing trailing \" symbol to terminate the byte string literal"
142142
}
143143
TokenizeError::UnterminatedRawString => {
144-
"Missing trailing `\"` with `#` symbols to terminate the raw string literal"
144+
"Missing trailing \" with # symbols to terminate the raw string literal"
145145
}
146146
TokenizeError::UnterminatedRawByteString => {
147-
"Missing trailing `\"` with `#` symbols to terminate the raw byte string literal"
147+
"Missing trailing \" with # symbols to terminate the raw byte string literal"
148148
}
149149
TokenizeError::UnstartedRawString => {
150-
"Missing `\"` symbol after `#` symbols to begin the raw string literal"
150+
"Missing \" symbol after # symbols to begin the raw string literal"
151151
}
152152
TokenizeError::UnstartedRawByteString => {
153-
"Missing `\"` symbol after `#` symbols to begin the raw byte string literal"
153+
"Missing \" symbol after # symbols to begin the raw byte string literal"
154154
}
155155
TokenizeError::LifetimeStartsWithNumber => "Lifetime name cannot start with a number",
156156
};

0 commit comments

Comments
 (0)