mirror of
https://github.com/salsa-rs/salsa.git
synced 2025-01-22 21:05:11 +00:00
Merge pull request #552 from carljm/debug-stamps
Some checks are pending
Book / Book (push) Waiting to run
Book / Deploy (push) Blocked by required conditions
Test / Test (false, beta) (push) Waiting to run
Test / Test (false, stable) (push) Waiting to run
Test / Test (true, nightly) (push) Waiting to run
Test / Miri (push) Waiting to run
Test / Benchmarks (push) Waiting to run
Some checks are pending
Book / Book (push) Waiting to run
Book / Deploy (push) Blocked by required conditions
Test / Test (false, beta) (push) Waiting to run
Test / Test (false, stable) (push) Waiting to run
Test / Test (true, nightly) (push) Waiting to run
Test / Miri (push) Waiting to run
Test / Benchmarks (push) Waiting to run
Require Debug for C::Stamps
This commit is contained in:
commit
994c988739
2 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
|||
use std::fmt::Debug;
|
||||
use std::ops::{Deref, DerefMut};
|
||||
|
||||
#[derive(Copy, Clone)]
|
||||
#[derive(Copy, Clone, Debug)]
|
||||
pub struct Array<T, const N: usize> {
|
||||
data: [T; N],
|
||||
}
|
||||
|
|
|
@ -35,7 +35,7 @@ pub trait Configuration: Any {
|
|||
type Fields: Send + Sync;
|
||||
|
||||
/// 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> {
|
||||
|
|
Loading…
Reference in a new issue