Skip to content

Commit eb04050

Browse files
committed
Do some light copyediting
We fixed one subject-verb agreement, clarified a couple sentences slightly, and replaced commas with semicolons in a list where the latter make a bit more sense.
1 parent f703262 commit eb04050

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/rust-2024/cargo-remove-implicit-features.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ graphics = ["dep:jpeg-decoder"]
3131

3232
### Motivation
3333

34-
A reason for requiring this to be explicit is that it encourages a conscious decision about the public exposure of the feature name, and makes it clearer when reading the `[features]` table which features exist.
34+
One reason for requiring this to be explicit is that it encourages a conscious decision about the public exposure of the feature name, and makes it clearer when reading the `[features]` table which features exist.
3535
This can help avoid tying the implementation details (the dependency names) to the public set of feature names.
3636

3737
Also, removing features is a [SemVer incompatible change][semver], which may not be obvious when removing an optional dependency that you thought was private.

src/rust-2024/cargo-table-key-names.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44

55
## Summary
66

7-
- Several table and key names in `Cargo.toml` have been removed where there was previously two ways to specify it.
8-
- Removed `[project]`, use `[package]` instead.
9-
- Removed `default_features`, use `default-features` instead.
10-
- Removed `crate_type`, use `crate-type` instead.
11-
- Removed `proc_macro`, use `proc-macro` instead.
12-
- Removed `dev_dependencies`, use `dev-dependencies` instead.
13-
- Removed `build_dependencies`, use `build-dependencies` instead.
7+
- Several table and key names in `Cargo.toml` have been removed where there were previously two ways to specify the same thing.
8+
- Removed `[project]`; use `[package]` instead.
9+
- Removed `default_features`; use `default-features` instead.
10+
- Removed `crate_type`; use `crate-type` instead.
11+
- Removed `proc_macro`; use `proc-macro` instead.
12+
- Removed `dev_dependencies`; use `dev-dependencies` instead.
13+
- Removed `build_dependencies`; use `build-dependencies` instead.
1414

1515
## Details
1616

0 commit comments

Comments
 (0)