From 1a2e4f2d1f4eb1b8ca9d727854d4ca94869baf3d Mon Sep 17 00:00:00 2001 From: Steven Engler Date: Sat, 3 Feb 2024 19:30:51 -0500 Subject: [PATCH] doc: `[package]` doesn't require `version` field --- src/doc/src/reference/manifest.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/doc/src/reference/manifest.md b/src/doc/src/reference/manifest.md index 003e0ef841b..aeecf8b16e8 100644 --- a/src/doc/src/reference/manifest.md +++ b/src/doc/src/reference/manifest.md @@ -65,10 +65,10 @@ version = "0.1.0" # the current version, obeying semver authors = ["Alice ", "Bob "] ``` -The only fields required by Cargo are [`name`](#the-name-field) and -[`version`](#the-version-field). If publishing to a registry, the registry may -require additional fields. See the notes below and [the publishing -chapter][publishing] for requirements for publishing to [crates.io]. +The only field required by Cargo is [`name`](#the-name-field). If publishing to +a registry, the registry may require additional fields. See the notes below and +[the publishing chapter][publishing] for requirements for publishing to +[crates.io]. ### The `name` field