Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
ChuckHend committed Jan 24, 2024
1 parent 3c23663 commit a5fbc6c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ use std::str::FromStr;

pub const VECTORIZE_SCHEMA: &str = "vectorize";


#[allow(non_camel_case_types)]
#[derive(Clone, Debug, Serialize, Deserialize, PostgresEnum)]
pub enum SimilarityAlg {
Expand Down
2 changes: 1 addition & 1 deletion src/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ pub fn get_vectorize_meta_spi(job_name: &str) -> Result<Option<VectorizeMeta>> {
job_id,
name,
job_type: job_type.into(),
transformer: transformer.into(),
transformer,
search_alg: search_alg.into(),
params: serde_json::to_value(params).unwrap(),
last_completion: None,
Expand Down

0 comments on commit a5fbc6c

Please sign in to comment.