1
Fork 0

rustdoc: treat edition 2021 as unstable

This commit is contained in:
Eric Huss 2021-02-16 19:17:01 -08:00
parent a143517d44
commit ee0e841a2e
2 changed files with 3 additions and 13 deletions

View file

@ -1350,7 +1350,7 @@ pub fn parse_error_format(
error_format
}
fn parse_crate_edition(matches: &getopts::Matches) -> Edition {
pub fn parse_crate_edition(matches: &getopts::Matches) -> Edition {
let edition = match matches.opt_str("edition") {
Some(arg) => Edition::from_str(&arg).unwrap_or_else(|_| {
early_error(