diff --git a/src/doc/src/reference/manifest.md b/src/doc/src/reference/manifest.md index 636d6058971..47aa6b82429 100644 --- a/src/doc/src/reference/manifest.md +++ b/src/doc/src/reference/manifest.md @@ -73,8 +73,7 @@ The package name is an identifier used to refer to the package. It is used when listed as a dependency in another package, and as the default name of inferred lib and bin targets. -The name must use only [alphanumeric] characters or `-` or `_`, and cannot be -empty. +The name must use only [alphanumeric] characters or `-` or `_`, and cannot be empty. Note that [`cargo new`] and [`cargo init`] impose some additional restrictions on the package name, such as enforcing that it is a valid Rust identifier and not