Skip to content

Commit

Permalink
Fix linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
sanketkedia committed Dec 4, 2024
1 parent 1c00082 commit ceb3e43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rust/load/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ impl RootConfig {
// Unfortunately, figment doesn't support environment variables with underscores. So we have to map and replace them.
// Excluding our own environment variables, which are prefixed with CHROMA_.
let mut f = figment::Figment::from(
Env::prefixed("CHROMA_").map(|k| return k.as_str().replace("__", ".").into()),
Env::prefixed("CHROMA_").map(|k| k.as_str().replace("__", ".").into()),
);
if std::path::Path::new(path).exists() {
f = figment::Figment::from(Yaml::file(path)).merge(f);
Expand Down
2 changes: 1 addition & 1 deletion rust/worker/src/segment/metadata_segment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1050,7 +1050,7 @@ impl MetadataSegmentReader<'_> {
fn process_where_clause<'me>(
&'me self,
where_clause: &'me Where,
) -> BoxFuture<Result<Vec<usize>, MetadataIndexError>> {
) -> BoxFuture<'me, Result<Vec<usize>, MetadataIndexError>> {
async move {
let provider = MetadataProvider::from_metadata_segment_reader(self);
let result = where_clause
Expand Down

0 comments on commit ceb3e43

Please sign in to comment.