1▶//! This module provides primitives for showing type and function parameter information when editing
2//! a call or use-site.
3
· · ·
173 let mut fn_params = None;
174 match callable.kind() {
175▶ hir::CallableKind::Function(func) => {
176 res.doc = func.docs(db).map(Documentation::into_owned);
177 if func.is_const(db) {
· · ·
176▶ res.doc = func.docs(db).map(Documentation::into_owned);
177 if func.is_const(db) {
178 format_to!(res.signature, "const ");
· · ·
177▶ if func.is_const(db) {
178 format_to!(res.signature, "const ");
179 }
· · ·
180▶ if func.is_async(db) {
181 format_to!(res.signature, "async ");
182 }
+ 80 more matches in this file