-
Notifications
You must be signed in to change notification settings - Fork 90
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
Make doc-comments consistently be doc-comments #639
Make doc-comments consistently be doc-comments #639
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
bors merge
639: Make doc-comments consistently be doc-comments r=irevoire a=CommanderStorm # Pull Request ## Related issue no related issue, as just a docs change ## What does this PR do? - Make doc-comments consistently be doc-comments - Also fixes a few links which `cargo doc` complained about ## PR checklist Please check if your PR fulfills the following requirements: - [x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)? - [x] Have you read the contributing guidelines? - [x] Have you made sure that the title is accurate and descriptive of the changes? Thank you so much for contributing to Meilisearch! Co-authored-by: Frank Elsinga <[email protected]>
Build failed: |
@@ -29,7 +29,7 @@ pub fn generate_tenant_token( | |||
return Err(Error::InvalidUuid4Version); | |||
} | |||
|
|||
if expires_at.map_or(false, |expires_at| OffsetDateTime::now_utc() > expires_at) { | |||
if expires_at.is_some_and(|expires_at| OffsetDateTime::now_utc() > expires_at) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same (unrelated) linting issue as here:
sorry for the missed approach on this one. Did not think to run clippy (only |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bors merge
Build succeeded:
|
Pull Request
Related issue
no related issue, as just a docs change
What does this PR do?
cargo doc
complained aboutPR checklist
Please check if your PR fulfills the following requirements:
Thank you so much for contributing to Meilisearch!