Skip to content

Commit

Permalink
Fix doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasbb committed Jan 30, 2021
1 parent 8eff5e0 commit e86bdc8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/rust.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1829,7 +1829,8 @@ pub mod default_on_null {
/// # use serde::Deserialize;
/// use serde_with::rust::deserialize_ignore_any;
///
/// #[derive(Deserialize, Debug)]
/// # #[derive(Debug, PartialEq)]
/// #[derive(Deserialize)]
/// #[serde(rename_all = "lowercase")]
/// enum Item {
/// Foo(String),
Expand Down

0 comments on commit e86bdc8

Please sign in to comment.