Pricefield | Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
brokenix to Rust [email protected] •
edit-2
11 months ago

[\#rust](https://emacs.ch/tags/rust) folks it's supposed to throw this error without lazy_static crate , but it doesn't?

message-square
4
fedilink
1
message-square

[\#rust](https://emacs.ch/tags/rust) folks it's supposed to throw this error without lazy_static crate , but it doesn't?

brokenix to Rust [email protected] •
edit-2
11 months ago
message-square
4
fedilink

#rust folks it’s supposed to throw this error without lazy_static crate , but it doesn’t?
https://git.sr.ht/~carnotweat/morning-rust/tree/main/item/sum.rs#L14
cc @rust @learningrustandlemmy

  • brokenixOP
    link
    fedilink
    0•11 months ago

    @BB_C disclaimer - no llm , I am following a book

    • @[email protected]
      cake
      link
      fedilink
      1•11 months ago

      Good.

      Can you formulate your question better, with a minimal example and properly formatted code?

Rust [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]
  • 2 users / day
  • 1 user / week
  • 16 users / month
  • 89 users / 6 months
  • 3 subscribers
  • 275 Posts
  • 912 Comments
  • Modlog
  • mods:
  • @[email protected]
  • @[email protected]
  • Nutomic
  • UI: 0.18.4
  • BE: 0.18.2
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org