Feddit.dk
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
snaggen@programming.dev to Rust@programming.dev · 11 months ago

Announcing Rust 1.79.0

blog.rust-lang.org

external-link
message-square
3
link
fedilink
  • cross-posted to:
  • rust@lemmy.ml
79
external-link

Announcing Rust 1.79.0

blog.rust-lang.org

snaggen@programming.dev to Rust@programming.dev · 11 months ago
message-square
3
link
fedilink
  • cross-posted to:
  • rust@lemmy.ml
Announcing Rust 1.79.0 | Rust Blog
blog.rust-lang.org
external-link
Empowering everyone to build reliable and efficient software.
  • BatmanAoD@programming.dev
    link
    fedilink
    arrow-up
    10
    ·
    edit-2
    11 months ago

    How does the const { None } example type-inference work? The size of the option type can’t be known without knowing the type of the Somevariant.

    Edit: aha, it doesn’t work as-is. It needs to infer the type of elements of foo from usage. https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=05a95c592626b6935ae812527aa6bbc6

Rust@programming.dev

rust@programming.dev

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: !rust@programming.dev

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

Wormhole

!performance@programming.dev

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.

  • 21 users / day
  • 196 users / week
  • 394 users / month
  • 2.84K users / 6 months
  • 11 local subscribers
  • 6.9K subscribers
  • 992 Posts
  • 4.51K Comments
  • Modlog
  • mods:
  • snowe@programming.dev
  • Ategon@programming.dev
  • EdTheLegendary@programming.dev
  • kahnclusions@programming.dev
  • torcherist@programming.dev
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org