Forcing rustfmt to break code @fasterthanlime
Forcing rustfmt to break code  @fasterthanlime
Uploaded September 2021 | Updated September 2026, 3 weeks ago
Follow me on Mastodon: hachyderm.io/@fasterthanlime
Support me on Patreon or GitHub: fasterthanli.me/donate
Support Mara on GitHub: github.com/sponsors/m-ou-se

Print a, run cargo fmt, print b. Easy right?

Contents
00:00 Intro
00:52 What is rustfmt?
01:30 My first solution
03:08 Picking a rustfmt bug
05:08 Calling a function of any type
05:51 Detecting argument presence
07:43 How arguments are passed
10:02 A little padding, as a treat
12:06 The rest of the owl
13:16 Outro

Here's my complete solution: twitter.com/fasterthanlime/status/1440795524865560590
Here's Mara's challenge: twitter.com/m_ou_se/status/1440660680248467479
Forcing rustfmt to break codeThe virtue of unsynnHow does the detour crate work?Catching up with async RustLets make an htop-like in your browser (with Rust)AoC Day 19, Rewrite it in Rust EditionI ported h2spec to Rust (also: codegen!)strace feels like magic — let’s fix that (with Rust)I bought us a Zed feature with cookiesOn an austistic scale of 1 to 10...So basically you built a normal CMS?A Fistful of Megabytes (In defense of Electron)
fasterthanlime |

Forcing rustfmt to break code

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER