rustdoc: treat edition 2021 as unstable
This commit is contained in:
parent
a143517d44
commit
ee0e841a2e
2 changed files with 3 additions and 13 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue