From d36014200549cf73a7f22c6f94fb15bec17823e8 Mon Sep 17 00:00:00 2001 From: Vika Date: Mon, 29 Jan 2024 07:08:21 +0300 Subject: lint: no extra whitespace on line endings --- src/media/storage/file.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/media') diff --git a/src/media/storage/file.rs b/src/media/storage/file.rs index 0aaaa3b..a910eca 100644 --- a/src/media/storage/file.rs +++ b/src/media/storage/file.rs @@ -122,7 +122,7 @@ impl MediaStore for FileStore { debug!("File path: {}, metadata: {}", filepath.display(), metapath.display()); { let parent = filepath.parent().unwrap(); - tokio::fs::create_dir_all(parent).await?; + tokio::fs::create_dir_all(parent).await?; } let mut meta = OpenOptions::new() .create_new(true) @@ -178,7 +178,7 @@ impl MediaStore for FileStore { Ok(meta) } - + #[tracing::instrument(skip(self))] async fn stream_range( &self, @@ -367,7 +367,7 @@ mod tests { assert_eq!(range.as_slice(), file); } - + #[tokio::test] #[tracing_test::traced_test] async fn test_streaming_read_write() { -- cgit 1.4.1