Skip to content

Commit 1b359d7

Browse files
committed
clarify doc comment on source_span_for_markdown_range
1 parent c802255 commit 1b359d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_resolve/src/rustdoc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ pub fn span_of_fragments(fragments: &[DocFragment]) -> Option<Span> {
501501
/// `markdown` is typically the entire documentation for an item,
502502
/// after combining fragments.
503503
///
504-
/// This method will return `Some` only if:
504+
/// This method will return `Some` only if one of the following is true:
505505
///
506506
/// - The doc is made entirely from sugared doc comments, which cannot contain escapes
507507
/// - The doc is entirely from a single doc fragment, with a string literal, exactly equal

0 commit comments

Comments
 (0)