Add Err(anyhow(... ast-grep rule (#90869)
# What Add an ast-grep rule to use `bail!` rather than `Err(anyhow!(` in a return position. # Why This is slightly more compact, and allows us to port more code over to turbofmt/turbobail. Note: _this PR was previously merged into another branch due to a GH bug_
Showing
This diff is collapsed.
Please
register
or
sign in
to comment