This commit is contained in:
soruh 2022-06-15 03:07:26 +02:00
parent 6a28cccaee
commit dd0981e3bc
2 changed files with 2 additions and 2 deletions

View file

@ -9,7 +9,7 @@ use crate::{
};
// TODO: how to depupicate with `ide-diagnostics/mssing_fields`
pub fn use_trivial_constructor(
fn use_trivial_constructor(
db: &ide_db::RootDatabase,
path: ast::Path,
ty: &hir::Type,

View file

@ -18,7 +18,7 @@ use text_edit::TextEdit;
use crate::{fix, Diagnostic, DiagnosticsContext};
// TODO: how to depupicate with `ide-assists/generate_new`
pub fn use_trivial_constructor(
fn use_trivial_constructor(
db: &ide_db::RootDatabase,
path: ast::Path,
ty: &hir::Type,