@@ -3566,23 +3566,13 @@ fn field_props(field: &str, ty: &str, doc: &[&str], default: &str) -> serde_json
35663566 } ,
35673567 "ImportGranularityDef" => set ! {
35683568 "type" : "string" ,
3569- "anyOf" : [
3570- {
3571- "enum" : [ "crate" , "module" , "item" , "one" ] ,
3572- "enumDescriptions" : [
3573- "Merge imports from the same crate into a single use statement. Conversely, imports from different crates are split into separate statements." ,
3574- "Merge imports from the same module into a single use statement. Conversely, imports from different modules are split into separate statements." ,
3575- "Flatten imports so that each has its own use statement." ,
3576- "Merge all imports into a single use statement as long as they have the same visibility and attributes."
3577- ] ,
3578- } ,
3579- {
3580- "enum" : [ "preserve" ] ,
3581- "enumDescriptions" : [
3582- "Deprecated - unless `enforceGranularity` is `true`, the style of the current file is preferred over this setting. Behaves like `item`." ,
3583- ] ,
3584- "deprecated" : true ,
3585- }
3569+ "enum" : [ "crate" , "module" , "item" , "one" , "preserve" ] ,
3570+ "enumDescriptions" : [
3571+ "Merge imports from the same crate into a single use statement. Conversely, imports from different crates are split into separate statements." ,
3572+ "Merge imports from the same module into a single use statement. Conversely, imports from different modules are split into separate statements." ,
3573+ "Flatten imports so that each has its own use statement." ,
3574+ "Merge all imports into a single use statement as long as they have the same visibility and attributes." ,
3575+ "Deprecated - unless `enforceGranularity` is `true`, the style of the current file is preferred over this setting. Behaves like `item`."
35863576 ] ,
35873577 } ,
35883578 "ImportPrefixDef" => set ! {
0 commit comments