Skip to content

Commit 3473eb2

Browse files
committed
Adds Rewrite trait and basic impl for lists
The Rewrite trait is meant to abstract the common pattern of rewriting some code within a given width and offset.
1 parent 8c8a32d commit 3473eb2

File tree

3 files changed

+243
-129
lines changed

3 files changed

+243
-129
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ mod lists;
5858
mod types;
5959
mod expr;
6060
mod imports;
61+
mod rewrite;
6162

6263
const MIN_STRING: usize = 10;
6364
// When we get scoped annotations, we should have rustfmt::skip.

0 commit comments

Comments
 (0)