Skip to content

Fix formatting of more date references #1067

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 22, 2021

Conversation

camelid
Copy link
Member

@camelid camelid commented Feb 21, 2021

It turns out I missed several in #1066.

It turns out I missed several in rust-lang#1066.
@camelid camelid added the S-waiting-on-review Status: this PR is waiting for a reviewer to verify its content label Feb 21, 2021
Comment on lines -74 to +75
All told, the inference context stores four kinds of inference variables (as of
<!-- date: 2018-01 --> January 2018):
All told, the inference context stores four kinds of inference variables
(as of <!-- date: 2018-01 --> January 2018):
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It turns out that mdBook freaks out when a line begins with an HTML comment:

image

Not sure if it's a bug or expected behavior.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It generates this HTML:

<p>All told, the inference context stores four kinds of inference variables (as of</p>
<!-- date: 2018-01 --> January 2018):

Probably pulldown-cmark is the one doing that.

Copy link
Member

@JohnTitor JohnTitor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems you still missed the below:

time on a wide set of platforms using GitHub Actions (as of January 2021 <!--
date: 2021-01 -->, over 50 different configurations). Due to the limit on the

Otherwise LGTM (I wonder if we could somehow detect with date-check 🤔).

@camelid
Copy link
Member Author

camelid commented Feb 21, 2021

Seems you still missed the below:

time on a wide set of platforms using GitHub Actions (as of January 2021 <!--
date: 2021-01 -->, over 50 different configurations). Due to the limit on the

Otherwise LGTM (I wonder if we could somehow detect with date-check 🤔).

Great catch, thanks!

@JohnTitor JohnTitor merged commit 9214d4a into rust-lang:master Feb 22, 2021
@camelid camelid deleted the date-ref-fmt-round2 branch February 22, 2021 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: this PR is waiting for a reviewer to verify its content
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants