mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-11 13:28:28 +00:00
Remove unused struct field
This commit is contained in:
parent
be70a5330a
commit
e977da834f
@ -38,10 +38,7 @@ impl Command<Validation> for ValidateObject<'_> {
|
|||||||
panic!("{:#?}", err);
|
panic!("{:#?}", err);
|
||||||
}
|
}
|
||||||
|
|
||||||
events.push(ValidationFailed {
|
events.push(ValidationFailed { err });
|
||||||
object: self.object.clone(),
|
|
||||||
err,
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -83,9 +80,6 @@ impl Event<Validation> for TakeErrors {
|
|||||||
/// Event produced by `Layer<Validation>`.
|
/// Event produced by `Layer<Validation>`.
|
||||||
#[derive(Clone)]
|
#[derive(Clone)]
|
||||||
pub struct ValidationFailed {
|
pub struct ValidationFailed {
|
||||||
/// The object for which validation failed
|
|
||||||
pub object: AnyObject<Stored>,
|
|
||||||
|
|
||||||
/// The validation error
|
/// The validation error
|
||||||
pub err: ValidationError,
|
pub err: ValidationError,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user