Skip to content

Commit

Permalink
Auto merge of #58341 - alexreg:cosmetic-2-doc-comments, r=steveklabnik
Browse files Browse the repository at this point in the history
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!
  • Loading branch information
bors committed Feb 12, 2019
2 parents 5e7ea68 + 18870c1 commit 8a8d48f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ impl<'a> Id<'a> {
/// digit (i.e., the regular expression `[a-zA-Z_][a-zA-Z_0-9]*`).
///
/// (Note: this format is a strict subset of the `ID` format
/// defined by the DOT language. This function may change in the
/// defined by the DOT language. This function may change in the
/// future to accept a broader subset, or the entirety, of DOT's
/// `ID` format.)
///
Expand Down Expand Up @@ -530,7 +530,7 @@ impl<'a> LabelText<'a> {
}

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

0 comments on commit 8a8d48f

Please sign in to comment.