Skip to content

Commit 09f0876

Browse files
authored
Clarify wording in docs
1 parent 39ef8ea commit 09f0876

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/html/length_limit.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use crate::html::escape::Escape;
1010
/// This buffer ensures that:
1111
///
1212
/// * all tags are closed,
13-
/// * only the most recently opened tag is closed,
13+
/// * tags are closed in the reverse order of when they were opened (i.e., the correct HTML order),
1414
/// * no tags are left empty (e.g., `<em></em>`) due to the length limit being reached,
1515
/// * all text is escaped.
1616
#[derive(Debug)]

0 commit comments

Comments
 (0)