We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1eaa34c commit 21cabdfCopy full SHA for 21cabdf
clarity/src/vm/representations.rs
@@ -459,13 +459,13 @@ pub struct SymbolicExpression {
459
pub span: Span,
460
461
#[cfg(feature = "developer-mode")]
462
- #[serde(default)]
+ #[serde(default, skip_serializing_if = "Vec::is_empty")]
463
pub pre_comments: Vec<(String, Span)>,
464
465
+ #[serde(default, skip_serializing_if = "Option::is_none")]
466
pub end_line_comment: Option<String>,
467
468
469
pub post_comments: Vec<(String, Span)>,
470
}
471
0 commit comments