mirror of https://github.com/rust-lang/rfcs.git
fix: Typo
Co-authored-by: Weihang Lo <weihanglo@users.noreply.github.com>
This commit is contained in:
parent
6cf4aa5d7a
commit
c71a624c97
|
@ -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`
|
||||
|
|
Loading…
Reference in New Issue