We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9379df commit 817082cCopy full SHA for 817082c
crates/ide-db/src/use_trivial_contructor.rs
@@ -1,6 +1,9 @@
1
+//! Functionality for generating trivial contructors
2
+
3
use hir::StructKind;
4
use syntax::ast;
5
6
+/// given a type return the trivial contructor (if one exists)
7
pub fn use_trivial_constructor(
8
db: &crate::RootDatabase,
9
path: ast::Path,
0 commit comments