From 6a325433e34b8917922464d399fc382d9ca899cb Mon Sep 17 00:00:00 2001 From: yanghua Date: Thu, 26 Dec 2024 17:28:30 +0800 Subject: [PATCH] fix compile issues --- rust/lance/src/catalog/dataset_identifier.rs | 1 + rust/lance/src/catalog/namespace.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/rust/lance/src/catalog/dataset_identifier.rs b/rust/lance/src/catalog/dataset_identifier.rs index 0677883f46..0443bb6116 100644 --- a/rust/lance/src/catalog/dataset_identifier.rs +++ b/rust/lance/src/catalog/dataset_identifier.rs @@ -89,6 +89,7 @@ impl fmt::Display for DatasetIdentifier { #[cfg(test)] mod tests { + use std::hash::DefaultHasher; use super::*; #[test] diff --git a/rust/lance/src/catalog/namespace.rs b/rust/lance/src/catalog/namespace.rs index dac2275637..cd9a4fe019 100644 --- a/rust/lance/src/catalog/namespace.rs +++ b/rust/lance/src/catalog/namespace.rs @@ -71,6 +71,7 @@ impl fmt::Debug for Namespace { #[cfg(test)] mod tests { + use std::hash::DefaultHasher; use super::*; #[test]