Closed MikkelPaulson closed 1 year ago
Improve Autocomplete::autocomplete() to return a Vec<AutocompleteSuggestion> instead of Vec<(Cow<'static, str>, Cow<'static, str>)>. This isn't quite the ergonomic win of #325, but still makes the behaviour more evident.
Autocomplete::autocomplete()
Vec<AutocompleteSuggestion>
Vec<(Cow<'static, str>, Cow<'static, str>)>
Improve
Autocomplete::autocomplete()
to return aVec<AutocompleteSuggestion>
instead ofVec<(Cow<'static, str>, Cow<'static, str>)>
. This isn't quite the ergonomic win of #325, but still makes the behaviour more evident.