Skip to content

Commit a5058bd

Browse files
committed
chore: warnings
1 parent c7cc66b commit a5058bd

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

rust/cubestore/cubestore/src/remotefs/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ pub trait ExtendedRemoteFs: DIService + RemoteFs {
9191
async fn list_by_page(
9292
&self,
9393
remote_prefix: String,
94-
) -> Result<BoxStream<'_, Result<Vec<String>, CubeError>>, CubeError> {
94+
) -> Result<BoxStream<'static, Result<Vec<String>, CubeError>>, CubeError> {
9595
// Note, this implementation doesn't actually paginate.
9696
let list: Vec<String> = self.list(remote_prefix).await?;
9797

rust/cubestore/cubestore/src/remotefs/queue.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ impl ExtendedRemoteFs for QueueRemoteFs {
346346
async fn list_by_page(
347347
&self,
348348
remote_prefix: String,
349-
) -> Result<BoxStream<'_, Result<Vec<String>, CubeError>>, CubeError> {
349+
) -> Result<BoxStream<'static, Result<Vec<String>, CubeError>>, CubeError> {
350350
self.remote_fs.list_by_page(remote_prefix).await
351351
}
352352
}

rust/cubestore/cubestore/src/remotefs/s3.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ impl ExtendedRemoteFs for S3RemoteFs {
346346
async fn list_by_page(
347347
&self,
348348
remote_prefix: String,
349-
) -> Result<BoxStream<'_, Result<Vec<String>, CubeError>>, CubeError> {
349+
) -> Result<BoxStream<'static, Result<Vec<String>, CubeError>>, CubeError> {
350350
let path = self.s3_path(&remote_prefix);
351351
let bucket = self.bucket.load();
352352
let leading_subpath = self.leading_subpath_regex();

0 commit comments

Comments
 (0)