Very minor cleanups
This commit is contained in:
parent
966bf7e35d
commit
19ee39cded
|
@ -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()
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue