Skip to content

Commit

Permalink
simply serde annotations
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Engelhardt <[email protected]>
  • Loading branch information
antonengelhardt committed Apr 30, 2024
1 parent f190139 commit 3ea0a4d
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions src/traits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -355,8 +355,7 @@ pub trait RootContext: Context {
///
/// struct MyRootContext;
///
/// #[derive(serde::Deserialize)]
/// #[derive(Debug)]
/// #[derive(serde::Deserialize, Debug)]
/// struct MyVmConfiguration {
/// /// Some key
/// pub key: String,
Expand Down Expand Up @@ -395,8 +394,7 @@ pub trait RootContext: Context {
///
/// struct MyRootContext;
///
/// #[derive(serde::Deserialize)]
/// #[derive(Debug)]
/// #[derive(serde::Deserialize, Debug)]
/// struct MyVmConfiguration {
/// /// Some key
/// pub key: String,
Expand Down Expand Up @@ -440,8 +438,7 @@ pub trait RootContext: Context {
///
/// struct MyRootContext;
///
/// #[derive(serde::Deserialize)]
/// #[derive(Debug)]
/// #[derive(serde::Deserialize, Debug)]
/// struct MyPluginConfiguration {
/// /// Some key
/// pub key: String,
Expand Down Expand Up @@ -480,8 +477,7 @@ pub trait RootContext: Context {
///
/// struct MyRootContext;
///
/// #[derive(serde::Deserialize)]
/// #[derive(Debug)]
/// #[derive(serde::Deserialize, Debug)]
/// struct MyPluginConfiguration {
/// /// Some key
/// pub key: String,
Expand Down

0 comments on commit 3ea0a4d

Please sign in to comment.