diff --git a/extension/search/docs/crate-doc.js b/extension/search/docs/crate-doc.js index 5c13fd3..9818914 100644 --- a/extension/search/docs/crate-doc.js +++ b/extension/search/docs/crate-doc.js @@ -96,7 +96,7 @@ export default class CrateDocSearch { static parseCrateDocsSearchKeyword(query) { query = query.replaceAll("@", "").trim(); - let [crateName, ...keyword] = query.split(/\s|:+/i); - return [crateName, keyword.filter(k => k).join('::')]; + let [crateName, ...keyword] = query.split(/\s/i); + return [crateName, keyword.filter(k => k).join('')]; } }