remove the now useless dead_code flags

This commit is contained in:
tamo 2021-03-26 14:15:12 +01:00
parent d7c077cffb
commit 0f2143e7fd
No known key found for this signature in database
GPG Key ID: B9DB60424F4F92F3
3 changed files with 0 additions and 3 deletions

View File

@ -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>,

View File

@ -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,

View File

@ -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