mirror of
https://github.com/salsa-rs/salsa.git
synced 2025-01-22 21:05:11 +00:00
Require Debug for C::Stamps
This commit is contained in:
parent
f65bfe1855
commit
b8ab0f8ba4
2 changed files with 3 additions and 2 deletions
|
@ -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],
|
||||||
}
|
}
|
||||||
|
|
|
@ -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> {
|
||||||
|
|
Loading…
Reference in a new issue