Skip to content

Commit 0a4239a

Browse files
bnjjjVeykril
andauthored
Update crates/rust-analyzer/src/config.rs
Co-authored-by: Lukas Wirth <[email protected]>
1 parent f4ce0d7 commit 0a4239a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/rust-analyzer/src/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1273,7 +1273,7 @@ fn field_props(field: &str, ty: &str, doc: &[&str], default: &str) -> serde_json
12731273
"enum": ["todo", "defaultImpl"],
12741274
"enumDescriptions": [
12751275
"Fill missing elements with 'todo' macro",
1276-
"Fill missing elements with T::default()"
1276+
"Fill missing expressions with reasonable defaults, `new` or `default` constructors."
12771277
],
12781278
},
12791279
"ImportGranularityDef" => set! {

0 commit comments

Comments
 (0)