Skip to content

Commit a6891a7

Browse files
author
Devdutt Shenoi
committed
ci: clippy suggestion
1 parent 4c353fd commit a6891a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/hottier.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ impl HotTierManager {
171171
HotTierValidationError::NotFound(stream.to_owned()),
172172
));
173173
}
174-
let path = hot_tier_file_path(&self.hot_tier_path, stream)?;
174+
let path = hot_tier_file_path(self.hot_tier_path, stream)?;
175175
let bytes = self
176176
.filesystem
177177
.get(&path)
@@ -204,7 +204,7 @@ impl HotTierManager {
204204
stream: &str,
205205
hot_tier: &mut StreamHotTier,
206206
) -> Result<(), HotTierError> {
207-
let path = hot_tier_file_path(&self.hot_tier_path, stream)?;
207+
let path = hot_tier_file_path(self.hot_tier_path, stream)?;
208208
let bytes = serde_json::to_vec(&hot_tier)?.into();
209209
self.filesystem.put(&path, bytes).await?;
210210
Ok(())

0 commit comments

Comments
 (0)