From f18fbc9891d8e00deccc68e66153e2413d663775 Mon Sep 17 00:00:00 2001 From: yanghua Date: Thu, 26 Dec 2024 17:14:27 +0800 Subject: [PATCH] format code --- rust/lance/src/catalog.rs | 4 ++-- rust/lance/src/catalog/catalog.rs | 2 +- rust/lance/src/lib.rs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/rust/lance/src/catalog.rs b/rust/lance/src/catalog.rs index 8210be9742..15bad9fdca 100644 --- a/rust/lance/src/catalog.rs +++ b/rust/lance/src/catalog.rs @@ -1,10 +1,10 @@ // SPDX-License-Identifier: Apache-2.0 // SPDX-FileCopyrightText: Copyright The Lance Authors -pub(crate) mod dataset_identifier; pub(crate) mod catalog; +pub(crate) mod dataset_identifier; pub(crate) mod namespace; -pub use dataset_identifier::DatasetIdentifier; pub use catalog::Catalog; +pub use dataset_identifier::DatasetIdentifier; pub use namespace::Namespace; diff --git a/rust/lance/src/catalog/catalog.rs b/rust/lance/src/catalog/catalog.rs index d4e6ed8020..7fb65eee9c 100644 --- a/rust/lance/src/catalog/catalog.rs +++ b/rust/lance/src/catalog/catalog.rs @@ -1,9 +1,9 @@ // SPDX-License-Identifier: Apache-2.0 // SPDX-FileCopyrightText: Copyright The Lance Authors -use crate::dataset::Dataset; use crate::catalog::dataset_identifier::DatasetIdentifier; use crate::catalog::namespace::Namespace; +use crate::dataset::Dataset; use std::collections::HashMap; pub trait Catalog { diff --git a/rust/lance/src/lib.rs b/rust/lance/src/lib.rs index 3d3ffe805f..0c88f7b3c4 100644 --- a/rust/lance/src/lib.rs +++ b/rust/lance/src/lib.rs @@ -75,6 +75,7 @@ pub use lance_core::{datatypes, error}; pub use lance_core::{Error, Result}; pub mod arrow; +pub mod catalog; pub mod datafusion; pub mod dataset; pub mod index; @@ -82,7 +83,6 @@ pub mod io; pub mod session; pub mod table; pub mod utils; -pub mod catalog; pub use dataset::Dataset; use lance_index::vector::DIST_COL;