Skip to content
This repository has been archived by the owner on Jul 1, 2021. It is now read-only.

remove the now useless dead_code flags #123

Merged
merged 1 commit into from
Mar 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion meilisearch-http/src/index/search.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ const fn default_search_limit() -> usize {

#[derive(Deserialize)]
#[serde(rename_all = "camelCase", deny_unknown_fields)]
#[allow(dead_code)]
pub struct SearchQuery {
pub q: Option<String>,
pub offset: Option<usize>,
Expand Down
1 change: 0 additions & 1 deletion meilisearch-http/src/index_controller/snapshot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ use super::update_actor::UpdateActorHandle;
use super::uuid_resolver::UuidResolverHandle;
use crate::helpers::compression;

#[allow(dead_code)]
pub struct SnapshotService<U, R> {
uuid_resolver_handle: R,
update_handle: U,
Expand Down
1 change: 0 additions & 1 deletion meilisearch-http/tests/common/index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ impl Index<'_> {
self.service.get(url).await
}

#[allow(dead_code)]
pub async fn list_updates(&self) -> (Value, StatusCode) {
let url = format!("/indexes/{}/updates", self.uid);
self.service.get(url).await
Expand Down