Skip to content

Commit 695e98a

Browse files
committed
nits
1 parent 2b1419e commit 695e98a

File tree

10 files changed

+1008
-942
lines changed

10 files changed

+1008
-942
lines changed

crates/doc/src/parser/item.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,8 @@ impl ParseItem {
8383

8484
/// Set formatted code on the [ParseItem].
8585
pub fn with_code(mut self, source: &str, config: FormatterConfig) -> ParserResult<Self> {
86-
// TODO(rusowsky): ensure that this is equivalent to the old fmt output
8786
self.code =
8887
forge_fmt::format(source, config).into_result().map_err(ParserError::Formatter)?;
89-
9088
Ok(self)
9189
}
9290

crates/fmt/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ foundry-common.workspace = true
1818

1919
solar.workspace = true
2020

21-
# alloy-primitives.workspace = true
2221
itertools.workspace = true
2322
similar = { version = "2", features = ["inline"] }
2423
tracing.workspace = true

crates/fmt/src/pp/convenience.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,6 @@ impl Printer {
146146
// Doesn't actually print trailing comma since it's not allowed in Solidity.
147147
pub fn trailing_comma(&mut self, is_last: bool) {
148148
if is_last {
149-
// self.scan_break(BreakToken { pre_break: Some(','), ..BreakToken::default() });
150149
self.zerobreak();
151150
} else {
152151
self.word(",");

0 commit comments

Comments
 (0)