Skip to content

Commit 30ab82e

Browse files
committed
Clean up minor bits
1 parent a41bedb commit 30ab82e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/libsyntax/parse/lexer/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ impl<'a> StringReader<'a> {
130130
self.ch.is_none()
131131
}
132132

133-
fn fail_unterminated_raw_string(&self, pos: BytePos, hash_count: u16) {
133+
fn fail_unterminated_raw_string(&self, pos: BytePos, hash_count: u16) -> ! {
134134
let mut err = self.struct_span_fatal(pos, pos, "unterminated raw string");
135135
err.span_label(self.mk_sp(pos, pos), "unterminated raw string");
136136

src/libsyntax/parse/unescape.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! Utilities for validating string and char literals and turning them into
1+
//! Utilities for validating string and char literals and turning them into
22
//! values they represent.
33
44
use std::str::Chars;

0 commit comments

Comments
 (0)