add doc strings to use_trivial_contructor.rs
This commit is contained in:
parent
f9379df630
commit
817082cad6
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user