fix: Typo

Co-authored-by: Weihang Lo <weihanglo@users.noreply.github.com>
This commit is contained in:
Ed Page 2023-11-13 14:43:21 -06:00 committed by GitHub
parent 6cf4aa5d7a
commit c71a624c97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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`