Skip to content

Commit 9680b52

Browse files
author
Devdutt Shenoi
committed
style: clippy suggestions
1 parent 90df592 commit 9680b52

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/prism/logstream/mod.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ impl PrismDatasetRequest {
239239
///
240240
/// # Note
241241
/// 1. This method won't fail if individual streams fail - it will only include
242-
/// successfully processed streams in the result.
242+
/// successfully processed streams in the result.
243243
/// 2. On receiving an empty stream list, we return for all streams the user is able to query for
244244
pub async fn get_datasets(
245245
mut self,
@@ -258,7 +258,7 @@ impl PrismDatasetRequest {
258258
continue;
259259
}
260260

261-
if PARSEABLE.check_or_load_stream(&stream).await {
261+
if PARSEABLE.check_or_load_stream(stream).await {
262262
debug!("Stream not found: {stream}");
263263
continue;
264264
}
@@ -268,11 +268,11 @@ impl PrismDatasetRequest {
268268
stats,
269269
retention,
270270
..
271-
} = get_prism_logstream_info(&stream).await?;
271+
} = get_prism_logstream_info(stream).await?;
272272

273273
let hottier = match HotTierManager::global() {
274274
Some(hot_tier_manager) => {
275-
let stats = hot_tier_manager.get_hot_tier(&stream).await?;
275+
let stats = hot_tier_manager.get_hot_tier(stream).await?;
276276
Some(stats)
277277
}
278278
_ => None,
@@ -292,9 +292,9 @@ impl PrismDatasetRequest {
292292

293293
// Retrieve distinct values for source identifiers
294294
// Returns None if fields aren't present or if query fails
295-
let ips = self.get_distinct_entries(&stream, "p_src_ip").await.ok();
295+
let ips = self.get_distinct_entries(stream, "p_src_ip").await.ok();
296296
let user_agents = self
297-
.get_distinct_entries(&stream, "p_user_agent")
297+
.get_distinct_entries(stream, "p_user_agent")
298298
.await
299299
.ok();
300300

0 commit comments

Comments
 (0)