Fix comment

This commit is contained in:
Joshua Nelson
2020-07-11 08:52:36 -04:00
parent 4c88070c87
commit b2ff0e703e
+1 -1
View File
@@ -1879,7 +1879,7 @@ fn self_value_is_available(&mut self, self_span: Span, path_span: Span) -> bool
/// 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);