Skip to content

Add Cargo.lock check and doc check to ch11#25

Merged
atulkhare4096 merged 1 commit intomicrosoft:mainfrom
QuarticCat:ci
Mar 25, 2026
Merged

Add Cargo.lock check and doc check to ch11#25
atulkhare4096 merged 1 commit intomicrosoft:mainfrom
QuarticCat:ci

Conversation

@QuarticCat
Copy link
Copy Markdown
Contributor

  • cargo fetch --locked checks that your Cargo.lock is compliant to your Cargo.toml. That is, if you update your Cargo.toml but forget to also update your Cargo.lock, this check will fail.
  • cargo doc will send a few warnings like unresolved links (e.g. link [`abc`] that item abc is not found). But it doesn't supports arguments -Dwarnings as clippy. The only way is using an env var.

Copy link
Copy Markdown
Contributor

@atulkhare4096 atulkhare4096 left a comment

Choose a reason for hiding this comment

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

Another great suggestion and example of something I hadn't used before.

@atulkhare4096 atulkhare4096 merged commit 3ce607a into microsoft:main Mar 25, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants