Skip to content

Commit b8e4afc

Browse files
committed
fix: typos in _serde.rs and catalog.rs
1 parent 99ca196 commit b8e4afc

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

crates/catalog/glue/src/catalog.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,6 @@ impl Catalog for GlueCatalog {
395395
/// representation and then attempts to update the corresponding namespace
396396
/// in the Glue Catalog.
397397
///
398-
/// # Returns
399398
/// Returns `Ok(())` if the namespace update is successful. If the
400399
/// namespace cannot be updated due to missing information or an error
401400
/// during the update process, an `Err(...)` is returned.
@@ -723,7 +722,6 @@ impl Catalog for GlueCatalog {
723722
/// Glue-compatible table representation, and attempts to create the
724723
/// corresponding table in the Glue Catalog.
725724
///
726-
/// # Returns
727725
/// Returns `Ok(Table)` if the table is successfully registered and loaded.
728726
/// If the registration fails due to validation issues, existing table conflicts,
729727
/// metadata problems, or errors during the registration or loading process,

crates/catalog/hms/src/catalog.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,6 @@ impl Catalog for HmsCatalog {
332332
/// representation and then attempts to update the corresponding namespace
333333
/// in the Hive Metastore.
334334
///
335-
/// # Returns
336335
/// Returns `Ok(())` if the namespace update is successful. If the
337336
/// namespace cannot be updated due to missing information or an error
338337
/// during the update process, an `Err(...)` is returned.

crates/iceberg/src/spec/schema/_serde.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ use crate::{Error, Result};
3232

3333
#[derive(Debug, Serialize, Deserialize, PartialEq, Eq)]
3434
#[serde(untagged)]
35-
/// Enum for Schema serialization/deserializaion
35+
/// Enum for Schema serialization/deserialization
3636
pub(super) enum SchemaEnum {
3737
V2(SchemaV2),
3838
V1(SchemaV1),
@@ -61,7 +61,7 @@ pub(crate) struct SchemaV1 {
6161
pub fields: StructType,
6262
}
6363

64-
/// Helper to serialize/deserializa Schema
64+
/// Helper to serialize/deserialize Schema
6565
impl TryFrom<SchemaEnum> for Schema {
6666
type Error = Error;
6767
fn try_from(value: SchemaEnum) -> Result<Self> {

0 commit comments

Comments
 (0)