diff --git a/implementations/rust/preserves/src/packed/view.rs b/implementations/rust/preserves/src/packed/view.rs index a6fea1b..37fae63 100644 --- a/implementations/rust/preserves/src/packed/view.rs +++ b/implementations/rust/preserves/src/packed/view.rs @@ -500,7 +500,7 @@ impl ValueImpl for View { repr: self.repr.clone(), annotation_offset: self.value_range.start, value_range: self.value_range.clone(), - }).into() + }) } } diff --git a/implementations/rust/preserves/src/repr.rs b/implementations/rust/preserves/src/repr.rs index 55bc60e..3c83d53 100644 --- a/implementations/rust/preserves/src/repr.rs +++ b/implementations/rust/preserves/src/repr.rs @@ -35,7 +35,6 @@ use super::float::{eq_f32, eq_f64, cmp_f32, cmp_f64}; #[derive(Clone)] pub struct Value(Arc>); -/// Atomic values from the specification. pub trait ValueImpl { fn write_domain(&self, w: &mut dyn Writer, enc: &mut dyn DomainEncode) -> io::Result<()> { write_value(w, self, enc)