Skip to content

Commit

Permalink
chore: remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
g-plane committed Aug 13, 2024
1 parent 88bd3a3 commit fc0b952
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions markup_fmt/src/ctx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ where
+ "}</>";
let formatted = self.format_with_external_formatter(
wrapped,
code,
Hints {
print_width: self
.print_width
Expand Down Expand Up @@ -172,7 +171,6 @@ where
+ " = 0";
let formatted = self.format_with_external_formatter(
wrapped,
code,
Hints {
print_width: self
.print_width
Expand Down Expand Up @@ -205,7 +203,6 @@ where
+ "> = 0";
let formatted = self.format_with_external_formatter(
wrapped,
code,
Hints {
print_width: self
.print_width
Expand All @@ -231,7 +228,6 @@ where
let wrapped = format!("{keyword} ({code}) {{}}");
let formatted = self.format_with_external_formatter(
wrapped,
code,
Hints {
print_width: self
.print_width
Expand Down Expand Up @@ -265,7 +261,6 @@ where
.unwrap_or_default()
.replace(|c: char| !c.is_ascii_whitespace(), " ")
+ code,
code,
Hints {
print_width: self
.print_width
Expand Down Expand Up @@ -293,7 +288,6 @@ where
.unwrap_or_default()
.replace(|c: char| !c.is_ascii_whitespace(), " ")
+ code,
code,
Hints {
print_width: self
.print_width
Expand All @@ -316,7 +310,6 @@ where
.unwrap_or_default()
.replace(|c: char| !c.is_ascii_whitespace(), " ")
+ code,
code,
Hints {
print_width: self
.print_width
Expand All @@ -341,7 +334,6 @@ where
.unwrap_or_default()
.replace(|c: char| !c.is_ascii_whitespace(), " ")
+ code,
code,
Hints {
print_width: self
.print_width
Expand All @@ -360,7 +352,6 @@ where
fn format_with_external_formatter<'a>(
&mut self,
code: String,
_original_code: &'a str,
hints: Hints<'b>,
) -> Cow<'a, str> {
match (self.external_formatter)(&code, hints) {
Expand Down

0 comments on commit fc0b952

Please sign in to comment.