about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorJoshua Nelson <jyn514@gmail.com>2020-07-11 08:52:36 -0400
committerJoshua Nelson <jyn514@gmail.com>2020-07-15 10:54:06 -0400
commitb2ff0e703eef715737ebb2afab04ec3f73cbf4bf (patch)
treeb3e025838e91f98316b238f3bfb5fb8dea3e0fc5 /src
parent4c88070c87b81c3cf6c8409a78c35ebdf67a67c3 (diff)
downloadrust-b2ff0e703eef715737ebb2afab04ec3f73cbf4bf.tar.gz
rust-b2ff0e703eef715737ebb2afab04ec3f73cbf4bf.zip
Fix comment
Diffstat (limited to 'src')
-rw-r--r--src/librustc_resolve/late.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_resolve/late.rs b/src/librustc_resolve/late.rs
index 63b238faff6..2df68624a36 100644
--- a/src/librustc_resolve/late.rs
+++ b/src/librustc_resolve/late.rs
@@ -1879,7 +1879,7 @@ impl<'a, 'b, 'ast> LateResolutionVisitor<'a, 'b, 'ast> {
 
     /// A wrapper around [`Resolver::report_error`].
     ///
-    /// This doesn't emit errors for function bodies if this is r
+    /// This doesn't emit errors for function bodies if this is rustdoc.
     fn report_error(&self, span: Span, resolution_error: ResolutionError<'_>) {
         if self.should_report_errs() {
             self.r.report_error(span, resolution_error);