programming.dev
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
turbohz to RustEnglish · 5 months ago

The Hidden Rules Behind Rust Functions & Closures

blog.cuongle.dev

external-link
message-square
4
link
fedilink
  • cross-posted to:
  • [email protected]
44
external-link

The Hidden Rules Behind Rust Functions & Closures

blog.cuongle.dev

turbohz to RustEnglish · 5 months ago
message-square
4
link
fedilink
  • cross-posted to:
  • [email protected]
Demystifying fn, Fn, FnMut, and FnOnce from everyday usage to compiler magic under the hood
  • TJ@twit.social
    link
    fedilink
    arrow-up
    3
    ·
    5 months ago

    @turbohz Very nice summary, thanks!

Rust

rust

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

[email protected]

Credits
  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 5 users / day
  • 101 users / week
  • 401 users / month
  • 1.59K users / 6 months
  • 1.57K local subscribers
  • 7.78K subscribers
  • 1.24K Posts
  • 5.6K Comments
  • Modlog
  • mods:
  • snowe
  • Ategon
  • EdTheLegendary
  • kahnclusions
  • torcherist
  • BE: 0.19.13
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org