CloudCannon / pagefind

Static low-bandwidth search at scale
https://pagefind.app
MIT License
3.34k stars 100 forks source link

Remove unnecessary `lazy_static!` block #432

Closed danpls closed 11 months ago

danpls commented 11 months ago

Using a const slice allows us the get rid of both the lazy_static! block, as well as the vec![] allocations.

bglw commented 11 months ago

Very good! Thanks ☺️