Make tests pass

This commit is contained in:
Ryo Yoshida 2022-08-01 15:20:14 +09:00
parent 4322cf7f5b
commit 8fe73a2240
No known key found for this signature in database
GPG key ID: E25698A930586171
4 changed files with 7 additions and 4 deletions

View file

@ -96,7 +96,7 @@ fn render(
item.set_documentation(ctx.docs(func))
.set_deprecated(ctx.is_deprecated(func) || ctx.is_deprecated_assoc_item(func))
.detail(detail(db, func))
.lookup_by(name.to_smol_str());
.lookup_by(name.unescaped().to_smol_str());
match ctx.completion.config.snippet_cap {
Some(cap) => {