Skip to content

Commit

Permalink
Removes superfluous newline in ephemeral scalar output (#142)
Browse files Browse the repository at this point in the history
  • Loading branch information
zslayton authored Sep 4, 2024
1 parent ecf10cd commit 2045e78
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/bin/ion/commands/inspect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1204,7 +1204,6 @@ impl<'a, 'b> IonInspector<'a, 'b> {
value: LazyValue<'x, AnyEncoding>,
mut comment_fn: impl CommentFn<'x>,
) -> Result<()> {
self.write_blank_offset_length_and_bytes(depth)?;
let formatted_value = self.format_scalar_body(value)?;
let style = if let Some(variable) = value.expanded().variable() {
self.write_offset_length_and_bytes_comment(depth, "", "", variable.name())?;
Expand Down

0 comments on commit 2045e78

Please sign in to comment.