From c71a624c9729ec897d7d88b706abd360380a4318 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Mon, 13 Nov 2023 14:43:21 -0600 Subject: [PATCH] fix: Typo Co-authored-by: Weihang Lo --- text/3516-public-private-dependencies.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/text/3516-public-private-dependencies.md b/text/3516-public-private-dependencies.md index fb0f7ed751f..ac1fb71ae35 100644 --- a/text/3516-public-private-dependencies.md +++ b/text/3516-public-private-dependencies.md @@ -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 = ""` +- `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 = ""` - `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`