Skip to content
Merged

fmt nits #11750

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion crates/doc/src/parser/item.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ impl ParseItem {
// TODO(rusowsky): ensure that this is equivalent to the old fmt output
self.code =
forge_fmt::format(source, config).into_result().map_err(ParserError::Formatter)?;

Ok(self)
}

Expand Down
1 change: 0 additions & 1 deletion crates/fmt/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ foundry-common.workspace = true

solar.workspace = true

# alloy-primitives.workspace = true
itertools.workspace = true
similar = { version = "2", features = ["inline"] }
tracing.workspace = true
Expand Down
1 change: 0 additions & 1 deletion crates/fmt/src/pp/convenience.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@ impl Printer {
// Doesn't actually print trailing comma since it's not allowed in Solidity.
pub fn trailing_comma(&mut self, is_last: bool) {
if is_last {
// self.scan_break(BreakToken { pre_break: Some(','), ..BreakToken::default() });
self.zerobreak();
} else {
self.word(",");
Expand Down
Loading
Loading