Skip to content
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

Merged
merged 3 commits into from
Feb 5, 2025

Conversation

CommanderStorm
Copy link
Contributor

@CommanderStorm CommanderStorm commented Jan 24, 2025

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:

  • Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
  • Have you read the contributing guidelines?
  • Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to Meilisearch!

@irevoire irevoire added the enhancement New feature or request label Jan 27, 2025
irevoire
irevoire previously approved these changes Jan 27, 2025
Copy link
Member

@irevoire irevoire left a 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

meili-bors bot added a commit that referenced this pull request Jan 27, 2025
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]>
Copy link
Contributor

meili-bors bot commented Jan 27, 2025

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) {
Copy link
Contributor Author

@CommanderStorm CommanderStorm Jan 27, 2025

Choose a reason for hiding this comment

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

@CommanderStorm
Copy link
Contributor Author

CommanderStorm commented Jan 27, 2025

sorry for the missed approach on this one. Did not think to run clippy (only cargo doc)

@curquiza curquiza added documentation Improvements or additions to documentation and removed enhancement New feature or request labels Feb 5, 2025
Copy link
Member

@curquiza curquiza left a comment

Choose a reason for hiding this comment

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

bors merge

Copy link
Contributor

meili-bors bot commented Feb 5, 2025

Build succeeded:

@meili-bors meili-bors bot merged commit 8575e24 into meilisearch:main Feb 5, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants