From 6f8546fec098470bc0ff4bf61f506d655d544827 Mon Sep 17 00:00:00 2001 From: CPerezz Date: Fri, 24 Jul 2020 23:51:37 +0200 Subject: [PATCH] Fix default edition spec in Cargo Book The Manifest section states on the example that the default edition is 2018, but the lines of text avobe state that the default is `2015` which is not correct. Closes #8541 --- src/doc/src/reference/manifest.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/src/reference/manifest.md b/src/doc/src/reference/manifest.md index bac6093f46a..3642ab47603 100644 --- a/src/doc/src/reference/manifest.md +++ b/src/doc/src/reference/manifest.md @@ -112,7 +112,7 @@ brackets at the end of each author. You can opt in to a specific [Rust Edition] for your package with the `edition` key in `Cargo.toml`. If you don't specify the edition, it will -default to 2015. +default to 2018. ```toml [package]