File tree 2 files changed +1
-5
lines changed
crates/ide-completion/src
2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -2054,10 +2054,6 @@ fn test() {
2054
2054
let a = A::$0;
2055
2055
}
2056
2056
"# ,
2057
- // preference:
2058
- // fn with no param that returns itself
2059
- // builder like fn
2060
- // fn with param that returns itself
2061
2057
expect ! [ [ r#"
2062
2058
fn new_2() [type_could_unify]
2063
2059
fn aaaabuilder() [type_could_unify]
Original file line number Diff line number Diff line change @@ -156,8 +156,8 @@ fn render(
156
156
157
157
/// When typing `::` of a type, the preferred order is:
158
158
/// * Constructors: new like functions to be able to create the type,
159
+ /// * Builder Methods,
159
160
/// * Constructors that take args: Any other function that creates Self
160
- /// * Builder Methods: any builder methods available
161
161
/// * Regular methods & Associated functions
162
162
///
163
163
fn calculate_bonus ( ctx : & RenderContext < ' _ > , func : hir:: Function , db : & dyn HirDatabase ) -> u32 {
You can’t perform that action at this time.
0 commit comments