• 1 Post
  • 3 Comments
Joined 10 months ago
cake
Cake day: February 26th, 2024

help-circle

  • Thank you very much. I’ll change it. I did run cargo clippy, but it didn’t complained anything anymore before I published the code. 🙂

    One question to return value Option<&String>:

    is it better to change to Option<&str> or &Option if the value in the struct is a Option? The latter sounds more logical to me.