mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 20:07:09 +02:00
Add tests on every platform and fix clippy errors
This commit is contained in:
parent
d34d7cbc37
commit
f80ea24d2b
11 changed files with 73 additions and 39 deletions
|
@ -44,7 +44,7 @@ impl Server {
|
|||
}
|
||||
|
||||
/// Returns a view to an index. There is no guarantee that the index exists.
|
||||
pub fn index<'a>(&'a self, uid: impl AsRef<str>) -> Index<'a> {
|
||||
pub fn index(& self, uid: impl AsRef<str>) -> Index<'_> {
|
||||
Index {
|
||||
uid: encode(uid.as_ref()),
|
||||
service: &self.service,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue