diff options
| author | Noah Lev <camelidcamel@gmail.com> | 2021-08-21 12:39:17 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-21 12:39:17 -0700 |
| commit | 09f0876dc63bb386bc07d182b1bf85afb61f7db6 (patch) | |
| tree | 4f09213071e92265a03b24d28819d41c69483732 | |
| parent | 39ef8ea767f6dd953e63f8a0a4828dac37bed50c (diff) | |
| download | rust-09f0876dc63bb386bc07d182b1bf85afb61f7db6.tar.gz rust-09f0876dc63bb386bc07d182b1bf85afb61f7db6.zip | |
Clarify wording in docs
| -rw-r--r-- | src/librustdoc/html/length_limit.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/length_limit.rs b/src/librustdoc/html/length_limit.rs index 42b94b51118..91e098979ac 100644 --- a/src/librustdoc/html/length_limit.rs +++ b/src/librustdoc/html/length_limit.rs @@ -10,7 +10,7 @@ use crate::html::escape::Escape; /// This buffer ensures that: /// /// * all tags are closed, -/// * only the most recently opened tag is closed, +/// * tags are closed in the reverse order of when they were opened (i.e., the correct HTML order), /// * no tags are left empty (e.g., `<em></em>`) due to the length limit being reached, /// * all text is escaped. #[derive(Debug)] |
