Feddit.dk
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Apoplexy@lemmy.world to Rust@programming.devEnglish · 5 months ago

Tracking issue for RFC 3681: Default field values · Issue #132162 · rust-lang/rust

github.com

external-link
message-square
6
link
fedilink
29
external-link

Tracking issue for RFC 3681: Default field values · Issue #132162 · rust-lang/rust

github.com

Apoplexy@lemmy.world to Rust@programming.devEnglish · 5 months ago
message-square
6
link
fedilink
This is a tracking issue for the RFC "3681" (rust-lang/rfcs#3681). The feature gate for the issue is #![feature(default_field_values)]. Allow struct definitions to provide default values for indivi...
  • snaggen@programming.dev
    link
    fedilink
    arrow-up
    5
    ·
    5 months ago

    I think this would be a nice improvement to reduce boiler plate.

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.

  • 96 users / day
  • 180 users / week
  • 407 users / month
  • 2.82K users / 6 months
  • 11 local subscribers
  • 6.91K subscribers
  • 996 Posts
  • 4.53K 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