Skip to content

Commit ba4d786

Browse files
authored
Fix a typo and touch up documentation (#15108)
This PR closes #15101. I fixed a typo and touched up some sentences.
2 parents f71f565 + a9eec5c commit ba4d786

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

src/doc/man/cargo-metadata.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ cargo-metadata --- Machine-readable metadata about the current package
1313
Output JSON to stdout containing information about the workspace members and
1414
resolved dependencies of the current package.
1515

16-
The format of the output is subject to change in futures versions of Cargo. It
16+
The output format is subject to change in future versions of Cargo. It
1717
is recommended to include the `--format-version` flag to future-proof your code
18-
to ensure the output is in the format you are expecting. For more on the
18+
and ensure the output is in the format you are expecting. For more on the
1919
expectations, see ["Compatibility"](#compatibility).
2020

2121
See the [cargo_metadata crate](https://crates.io/crates/cargo_metadata)

src/doc/man/generated_txt/cargo-metadata.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ DESCRIPTION
1010
Output JSON to stdout containing information about the workspace members
1111
and resolved dependencies of the current package.
1212

13-
The format of the output is subject to change in futures versions of
14-
Cargo. It is recommended to include the --format-version flag to
15-
future-proof your code to ensure the output is in the format you are
16-
expecting. For more on the expectations, see “Compatibility”.
13+
The output format is subject to change in future versions of Cargo. It
14+
is recommended to include the --format-version flag to future-proof your
15+
code and ensure the output is in the format you are expecting. For more
16+
on the expectations, see “Compatibility”.
1717

1818
See the cargo_metadata crate <https://crates.io/crates/cargo_metadata>
1919
for a Rust API for reading the metadata.

src/doc/src/commands/cargo-metadata.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ cargo-metadata --- Machine-readable metadata about the current package
1313
Output JSON to stdout containing information about the workspace members and
1414
resolved dependencies of the current package.
1515

16-
The format of the output is subject to change in futures versions of Cargo. It
16+
The output format is subject to change in future versions of Cargo. It
1717
is recommended to include the `--format-version` flag to future-proof your code
18-
to ensure the output is in the format you are expecting. For more on the
18+
and ensure the output is in the format you are expecting. For more on the
1919
expectations, see ["Compatibility"](#compatibility).
2020

2121
See the [cargo_metadata crate](https://crates.io/crates/cargo_metadata)

src/etc/man/cargo-metadata.1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ cargo\-metadata \[em] Machine\-readable metadata about the current package
1111
Output JSON to stdout containing information about the workspace members and
1212
resolved dependencies of the current package.
1313
.sp
14-
The format of the output is subject to change in futures versions of Cargo. It
14+
The output format is subject to change in future versions of Cargo. It
1515
is recommended to include the \fB\-\-format\-version\fR flag to future\-proof your code
16-
to ensure the output is in the format you are expecting. For more on the
16+
and ensure the output is in the format you are expecting. For more on the
1717
expectations, see \[lq]Compatibility\[rq]\&.
1818
.sp
1919
See the \fIcargo_metadata crate\fR <https://crates.io/crates/cargo_metadata>

0 commit comments

Comments
 (0)