about summary refs log tree commit diff
path: root/src/libsyntax/source_map.rs
diff options
context:
space:
mode:
authorJoshua Groves <josh@joshgroves.com>2019-09-18 23:17:36 -0600
committerJoshua Groves <josh@joshgroves.com>2019-09-18 23:17:36 -0600
commit37bafeafe73cff935bb444b6736a958a9a752669 (patch)
tree4d66728f8f2c241a9a9bb0f0b2d938d6f761003e /src/libsyntax/source_map.rs
parenteceec57f72150dd548e05025a05a93381da41385 (diff)
downloadrust-37bafeafe73cff935bb444b6736a958a9a752669.tar.gz
rust-37bafeafe73cff935bb444b6736a958a9a752669.zip
Fix backticks in documentation
Diffstat (limited to 'src/libsyntax/source_map.rs')
-rw-r--r--src/libsyntax/source_map.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/source_map.rs b/src/libsyntax/source_map.rs
index d7ea799e004..7d0d2392945 100644
--- a/src/libsyntax/source_map.rs
+++ b/src/libsyntax/source_map.rs
@@ -3,7 +3,7 @@
 //! of source parsed during crate parsing (typically files, in-memory strings,
 //! or various bits of macro expansion) cover a continuous range of bytes in the
 //! `SourceMap` and are represented by `SourceFile`s. Byte positions are stored in
-//! `Span`` and used pervasively in the compiler. They are absolute positions
+//! `Span` and used pervasively in the compiler. They are absolute positions
 //! within the `SourceMap`, which upon request can be converted to line and column
 //! information, source code snippets, etc.
 
@@ -645,7 +645,7 @@ impl SourceMap {
     }
 
     /// Given a `Span`, tries to get a shorter span ending before the first occurrence of `char`
-    /// ``c`.
+    /// `c`.
     pub fn span_until_char(&self, sp: Span, c: char) -> Span {
         match self.span_to_snippet(sp) {
             Ok(snippet) => {