Skip to content

Commit

Permalink
fix: Typo
Browse files Browse the repository at this point in the history
Co-authored-by: Weihang Lo <[email protected]>
  • Loading branch information
epage and weihanglo authored Nov 13, 2023
1 parent 6cf4aa5 commit c71a624
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion text/3516-public-private-dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ You can't definitively lint when a `public = true` is unused since it may depend

## Misc

- `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>"`
- `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>"`
- `pub` has a nice parallel with Rust
- `pub`: Cargo doesn't use abbreviations as much as Rust (though some are used)
- `pub` could be seen as ambiguous with `publish`
Expand Down

0 comments on commit c71a624

Please sign in to comment.