Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit dd0981e

Browse files
committed
fix CI
1 parent 6a28ccc commit dd0981e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/ide-assists/src/handlers/generate_new.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ use crate::{
99
};
1010

1111
// TODO: how to depupicate with `ide-diagnostics/mssing_fields`
12-
pub fn use_trivial_constructor(
12+
fn use_trivial_constructor(
1313
db: &ide_db::RootDatabase,
1414
path: ast::Path,
1515
ty: &hir::Type,

crates/ide-diagnostics/src/handlers/missing_fields.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ use text_edit::TextEdit;
1818
use crate::{fix, Diagnostic, DiagnosticsContext};
1919

2020
// TODO: how to depupicate with `ide-assists/generate_new`
21-
pub fn use_trivial_constructor(
21+
fn use_trivial_constructor(
2222
db: &ide_db::RootDatabase,
2323
path: ast::Path,
2424
ty: &hir::Type,

0 commit comments

Comments
 (0)