Skip to content

Commit 459dc73

Browse files
committed
sweekey cling?
1 parent c128ee9 commit 459dc73

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

crates/iceberg/src/io/file_io.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ impl FileIO {
121121
/// # Arguments
122122
///
123123
/// * path: It should be *absolute* path starting with scheme string used to construct [`FileIO`].
124+
#[must_use]
124125
pub fn new_input(&self, path: impl AsRef<str>) -> Result<InputFile> {
125126
self.inner.new_input(path.as_ref())
126127
}
@@ -130,6 +131,7 @@ impl FileIO {
130131
/// # Arguments
131132
///
132133
/// * path: It should be *absolute* path starting with scheme string used to construct [`FileIO`].
134+
#[must_use]
133135
pub fn new_output(&self, path: impl AsRef<str>) -> Result<OutputFile> {
134136
self.inner.new_output(path.as_ref())
135137
}

crates/iceberg/src/io/storage.rs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,7 @@
1515
// specific language governing permissions and limitations
1616
// under the License.
1717

18-
//! Storage implementation for Iceberg using OpenDAL.
19-
//!
20-
//! This module provides a unified storage abstraction that handles all supported
21-
//! storage backends (S3, GCS, Azure, local filesystem, memory, etc.) through OpenDAL.
18+
//! Storage interfaces of Iceberg
2219
2320
use std::fmt::Debug;
2421
use std::sync::Arc;
@@ -42,9 +39,6 @@ use crate::{Error, ErrorKind, Result};
4239

4340
/// Trait for storage operations in Iceberg.
4441
///
45-
/// This trait defines the interface for all storage backends. The default implementation
46-
/// uses OpenDAL to support various storage systems like S3, GCS, Azure, local filesystem, etc.
47-
///
4842
/// The trait supports serialization via `typetag`, allowing storage instances to be
4943
/// serialized and deserialized across process boundaries.
5044
///

0 commit comments

Comments
 (0)