aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorBenjamin Coenen <[email protected]>2020-11-13 22:20:26 +0000
committerBenjamin Coenen <[email protected]>2020-11-13 22:20:26 +0000
commit9f15de77f92a4f3bdd76039d5a851e608d244c0f (patch)
treeb4e275fa02ee2433e9569c0ab4a83ce760252542 /crates
parente73d140b51d7bd4b42cadf2dbd825b1dbc7cedb6 (diff)
add suggestion ..Default::default() for remaining struct fields in a constructor #6492
Signed-off-by: Benjamin Coenen <[email protected]>
Diffstat (limited to 'crates')
-rw-r--r--crates/assists/src/utils.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/assists/src/utils.rs b/crates/assists/src/utils.rs
index 3fef75d57..7bd338e99 100644
--- a/crates/assists/src/utils.rs
+++ b/crates/assists/src/utils.rs
@@ -258,7 +258,7 @@ pub mod convert {
258} 258}
259 259
260pub mod default { 260pub mod default {
261 pub trait Default: Sized { 261 pub trait Default {
262 fn default() -> Self; 262 fn default() -> Self;
263 } 263 }
264} 264}