write bound as explicitly deserialize
This commit is contained in:
@@ -656,11 +656,11 @@ where
|
||||
#[cfg_attr(
|
||||
feature = "serde",
|
||||
derive(serde_derive::Deserialize),
|
||||
serde(bound = "
|
||||
serde(bound(deserialize = "
|
||||
G: serde::Deserialize<'de>,
|
||||
SessionConfig<G::Config>: serde::Deserialize<'de>,
|
||||
Vec<G::Instruction>: serde::Deserialize<'de>,
|
||||
")
|
||||
"))
|
||||
)]
|
||||
struct SerializedSession<G: Game> {
|
||||
config: SessionConfig<G::Config>,
|
||||
|
||||
Reference in New Issue
Block a user