Skip to content

Commit 8a8d48f

Browse files
committed
Auto merge of #58341 - alexreg:cosmetic-2-doc-comments, r=steveklabnik
Cosmetic improvements to doc comments This has been factored out from rust-lang/rust#58036 to only include changes to documentation comments (throughout the rustc codebase). r? @steveklabnik Once you're happy with this, maybe we could get it through with r=1, so it doesn't constantly get invalidated? (I'm not sure this will be an issue, but just in case...) Anyway, thanks for your advice so far!
2 parents 5e7ea68 + 18870c1 commit 8a8d48f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ impl<'a> Id<'a> {
393393
/// digit (i.e., the regular expression `[a-zA-Z_][a-zA-Z_0-9]*`).
394394
///
395395
/// (Note: this format is a strict subset of the `ID` format
396-
/// defined by the DOT language. This function may change in the
396+
/// defined by the DOT language. This function may change in the
397397
/// future to accept a broader subset, or the entirety, of DOT's
398398
/// `ID` format.)
399399
///
@@ -530,7 +530,7 @@ impl<'a> LabelText<'a> {
530530
}
531531

532532
/// Decomposes content into string suitable for making EscStr that
533-
/// yields same content as self. The result obeys the law
533+
/// yields same content as self. The result obeys the law
534534
/// render(`lt`) == render(`EscStr(lt.pre_escaped_content())`) for
535535
/// all `lt: LabelText`.
536536
fn pre_escaped_content(self) -> Cow<'a, str> {

0 commit comments

Comments
 (0)