Skip to content

Commit

Permalink
Auto merge of #13057 - AlexTMjugador:docs/workspace-lints-crossrefere…
Browse files Browse the repository at this point in the history
…nce, r=epage

docs: link to the packages lint table from the related workspace table

### What does this PR try to resolve?

This PR makes the exact format and definition of the workspace `lints` table easier to discover. It also follows the style of the surrounding documentation, such as the section immediately before about the `dependencies` table, which cross-references related package table documentation.

### How should we test and review this PR?

N/A

### Additional information

N/A
  • Loading branch information
bors committed Nov 28, 2023
2 parents 15a35e5 + cc4f651 commit 26333c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/src/reference/workspaces.md
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ rand.workspace = true

The `workspace.lints` table is where you define lint configuration to be inherited by members of a workspace.

Specifying a workspace lint configuration is similar to package lints.
Specifying a workspace lint configuration is similar to [package lints](manifest.md#the-lints-section).

Example:

Expand Down

0 comments on commit 26333c7

Please sign in to comment.