Pricefield | Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@[email protected] to [email protected]English • 7 months ago

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

github.com

external-link
message-square
6
fedilink
30
external-link

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

github.com

@[email protected] to [email protected]English • 7 months ago
message-square
6
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...
  • @[email protected]
    link
    fedilink
    5•7 months ago

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

[email protected]

[email protected]
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)
  • 10 users / day
  • 19 users / week
  • 58 users / month
  • 346 users / 6 months
  • 2 subscribers
  • 975 Posts
  • 4.6K Comments
  • Modlog
  • mods:
  • snowe
  • Ategon
  • EdTheLegendary
  • @[email protected]
  • @[email protected]
  • UI: 0.18.4
  • BE: 0.18.2
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org