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