From bf60661aa3e2a77fedb3e1627675842d05538860 Mon Sep 17 00:00:00 2001 From: Veetaha Date: Mon, 27 Jan 2020 01:41:48 +0200 Subject: ra_syntax: remove backticks from TokenizeError message since that is not Markdown ;( --- crates/ra_syntax/src/syntax_error.rs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'crates/ra_syntax') diff --git a/crates/ra_syntax/src/syntax_error.rs b/crates/ra_syntax/src/syntax_error.rs index af18a30f2..45e11f404 100644 --- a/crates/ra_syntax/src/syntax_error.rs +++ b/crates/ra_syntax/src/syntax_error.rs @@ -126,31 +126,31 @@ impl fmt::Display for TokenizeError { TokenizeError::EmptyInt => "Missing digits after integer base prefix", TokenizeError::EmptyExponent => "Missing digits after the exponent symbol", TokenizeError::UnterminatedBlockComment => { - "Missing trailing `*/` symbols to terminate the block comment" + "Missing trailing */ symbols to terminate the block comment" } TokenizeError::UnterminatedChar => { - "Missing trailing `'` symbol to terminate the character literal" + "Missing trailing ' symbol to terminate the character literal" } TokenizeError::UnterminatedByte => { - "Missing trailing `'` symbol to terminate the byte literal" + "Missing trailing ' symbol to terminate the byte literal" } TokenizeError::UnterminatedString => { - "Missing trailing `\"` symbol to terminate the string literal" + "Missing trailing \" symbol to terminate the string literal" } TokenizeError::UnterminatedByteString => { - "Missing trailing `\"` symbol to terminate the byte string literal" + "Missing trailing \" symbol to terminate the byte string literal" } TokenizeError::UnterminatedRawString => { - "Missing trailing `\"` with `#` symbols to terminate the raw string literal" + "Missing trailing \" with # symbols to terminate the raw string literal" } TokenizeError::UnterminatedRawByteString => { - "Missing trailing `\"` with `#` symbols to terminate the raw byte string literal" + "Missing trailing \" with # symbols to terminate the raw byte string literal" } TokenizeError::UnstartedRawString => { - "Missing `\"` symbol after `#` symbols to begin the raw string literal" + "Missing \" symbol after # symbols to begin the raw string literal" } TokenizeError::UnstartedRawByteString => { - "Missing `\"` symbol after `#` symbols to begin the raw byte string literal" + "Missing \" symbol after # symbols to begin the raw byte string literal" } TokenizeError::LifetimeStartsWithNumber => "Lifetime name cannot start with a number", }; -- cgit v1.2.3