Update doc defaults for section-order (#4232)

This commit is contained in:
Charlie Marsh 2023-05-04 14:35:27 -07:00 committed by GitHub
parent c2921e957b
commit c0e7269b07
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -272,7 +272,7 @@ pub struct Options {
/// in the order specified.
pub forced_separate: Option<Vec<String>>,
#[option(
default = r#"[]"#,
default = r#"["future", "standard-library", "third-party", "first-party", "local-folder"]"#,
value_type = r#"list["future" | "standard-library" | "third-party" | "first-party" | "local-folder" | str]"#,
example = r#"
section-order = ["future", "standard-library", "first-party", "local-folder", "third-party"]