Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Commit

Permalink
fix clippy errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Alun Turner committed Jun 30, 2023
1 parent ca44460 commit 43d6440
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/wysiwyg/src/dom/nodes/line_break_node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ where
&self,
buffer: &mut S,
options: &MarkdownOptions,
as_message: bool,
_as_message: bool,
) -> Result<(), MarkdownError<S>> {
if options.contains(MarkdownOptions::IGNORE_LINE_BREAK) {
// Replace the line break by a single space.
Expand Down
2 changes: 1 addition & 1 deletion crates/wysiwyg/src/dom/nodes/text_node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ where
&self,
buffer: &mut S,
_options: &MarkdownOptions,
as_message: bool,
_as_message: bool,
) -> Result<(), MarkdownError<S>> {
buffer.push(self.data.to_owned());

Expand Down

0 comments on commit 43d6440

Please sign in to comment.