Skip to content

Commit c71a624

Browse files
epageweihanglo
andauthored
fix: Typo
Co-authored-by: Weihang Lo <[email protected]>
1 parent 6cf4aa5 commit c71a624

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

text/3516-public-private-dependencies.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ You can't definitively lint when a `public = true` is unused since it may depend
236236

237237
## Misc
238238

239-
- `Cargo.toml`: instead of `public` (like [RFC 1977]), we could name the field `pub` (named after the [Rust keyword](https://doc.rust-lang.org/reference/visibility-and-privacy.html) or name the field `visibility = "<public|private>"`
239+
- `Cargo.toml`: instead of `public` (like [RFC 1977]), we could name the field `pub` (named after the [Rust keyword](https://doc.rust-lang.org/reference/visibility-and-privacy.html)) or name the field `visibility = "<public|private>"`
240240
- `pub` has a nice parallel with Rust
241241
- `pub`: Cargo doesn't use abbreviations as much as Rust (though some are used)
242242
- `pub` could be seen as ambiguous with `publish`

0 commit comments

Comments
 (0)