diff --git a/crates/store/re_types_core/src/lib.rs b/crates/store/re_types_core/src/lib.rs index 620fd06eb3a1..62d3fdfb5cd0 100644 --- a/crates/store/re_types_core/src/lib.rs +++ b/crates/store/re_types_core/src/lib.rs @@ -15,9 +15,6 @@ #![doc = document_features::document_features!()] //! -// TODO(#6330): remove unwrap() -#![allow(clippy::unwrap_used)] - // --- /// Number of decimals shown for all float display methods. diff --git a/crates/store/re_types_core/src/tuid.rs b/crates/store/re_types_core/src/tuid.rs index 0075f2346e3e..155340fac4b7 100644 --- a/crates/store/re_types_core/src/tuid.rs +++ b/crates/store/re_types_core/src/tuid.rs @@ -80,6 +80,7 @@ impl Loggable for Tuid { // NOTE: Unwrap is safe everywhere below, datatype is checked above. // NOTE: We don't even look at the validity, our datatype says we don't care. + #[allow(clippy::unwrap_used)] let array = array.downcast_array_ref::().unwrap(); // TODO(cmc): Can we rely on the fields ordering from the datatype? I would assume not @@ -95,10 +96,12 @@ impl Loggable for Tuid { inc_index = Some(i); } } + #[allow(clippy::unwrap_used)] (time_ns_index.unwrap(), inc_index.unwrap()) }; let get_buffer = |field_index: usize| { + #[allow(clippy::unwrap_used)] array.columns()[field_index] .downcast_array_ref::() .unwrap()