Very minor cleanups

This commit is contained in:
Tony Garnock-Jones 2023-03-25 20:36:30 +01:00
parent 966bf7e35d
commit 19ee39cded
2 changed files with 1 additions and 2 deletions

View File

@ -500,7 +500,7 @@ impl<D: Domain> ValueImpl<D> for View<D> {
repr: self.repr.clone(),
annotation_offset: self.value_range.start,
value_range: self.value_range.clone(),
}).into()
})
}
}

View File

@ -35,7 +35,6 @@ use super::float::{eq_f32, eq_f64, cmp_f32, cmp_f64};
#[derive(Clone)]
pub struct Value<D>(Arc<dyn ValueImpl<D>>);
/// Atomic values from the specification.
pub trait ValueImpl<D: Domain> {
fn write_domain(&self, w: &mut dyn Writer, enc: &mut dyn DomainEncode<D>) -> io::Result<()> {
write_value(w, self, enc)