I was teaching Rust closures today. Specifically, the traits FnOnce, FnMut, and Fn. It was only when I was in front of the class that I realized how it sounded.
Me: Which trait does this closure implement?
Student: It's f'ing mut!
Me: No, it's f'ing once!
14 days ago