• Nioxic@lemmy.world
    link
    fedilink
    English
    arrow-up
    26
    arrow-down
    1
    ·
    11 months ago

    Isnt the syntax highlighting it as mever used?

    So why would they wonder?

    • Camilo@discuss.tchncs.de
      link
      fedilink
      arrow-up
      1
      arrow-down
      2
      ·
      11 months ago

      If it is a pure value, I’d assume yes, but if it is tied to a side effect (E.g. write its value to a file), then it would be not used but still could break your app if removed.

      I’m not familiar with rust language specifically, but generally that’s what could happen