Forcing rustfmt to break code

Опубликовано: 13 Май 2026
на канале: fasterthanlime
22,052
863

Follow me on Mastodon: https://hachyderm.io/@fasterthanlime
Support me on Patreon or GitHub: https://fasterthanli.me/donate
Support Mara on GitHub: https://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:   / 1440795524865560590  
Here's Mara's challenge:   / 1440660680248467479