diff --git a/crates/ide-db/src/use_trivial_contructor.rs b/crates/ide-db/src/use_trivial_contructor.rs index 948670380f..39431bed38 100644 --- a/crates/ide-db/src/use_trivial_contructor.rs +++ b/crates/ide-db/src/use_trivial_contructor.rs @@ -1,6 +1,9 @@ +//! Functionality for generating trivial contructors + use hir::StructKind; use syntax::ast; +/// given a type return the trivial contructor (if one exists) pub fn use_trivial_constructor( db: &crate::RootDatabase, path: ast::Path,