Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
BlaineHeffron committed Jun 11, 2024
1 parent 998c49e commit 173a627
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/crates/soroban-spec-typescript/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -252,14 +252,14 @@ pub fn entry_to_method_type(entry: &Entry) -> String {
if c.doc.is_empty() {
format!(
"{} {}: {{message:\"{}\"}}",
if i != 0 { "\n" } else { "" },
if i == 0 { "" } else { "\n" },
c.value,
c.name
)
} else {
format!(
"{}{} {}: {{message:\"{}\"}}",
if i != 0 { "\n" } else { "" },
if i == 0 { "" } else { "\n" },
doc_to_ts_doc(&c.doc, None, 1),
c.value,
c.name
Expand Down

0 comments on commit 173a627

Please sign in to comment.