Require Debug for C::Stamps

This commit is contained in:
Carl Meyer 2024-08-02 13:31:53 -07:00
parent f65bfe1855
commit b8ab0f8ba4
No known key found for this signature in database
GPG key ID: 2D1FB7916A52E121
2 changed files with 3 additions and 2 deletions

View file

@ -1,6 +1,7 @@
use std::fmt::Debug;
use std::ops::{Deref, DerefMut}; use std::ops::{Deref, DerefMut};
#[derive(Copy, Clone)] #[derive(Copy, Clone, Debug)]
pub struct Array<T, const N: usize> { pub struct Array<T, const N: usize> {
data: [T; N], data: [T; N],
} }

View file

@ -36,7 +36,7 @@ pub trait Configuration: Any {
type Fields: Send + Sync; type Fields: Send + Sync;
/// A array of [`StampedValue<()>`](`StampedValue`) tuples, one per each of the value fields. /// A array of [`StampedValue<()>`](`StampedValue`) tuples, one per each of the value fields.
type Stamps: Send + Sync + DerefMut<Target = [Stamp]>; type Stamps: Send + Sync + fmt::Debug + DerefMut<Target = [Stamp]>;
} }
pub struct JarImpl<C: Configuration> { pub struct JarImpl<C: Configuration> {