• 1 Post
  • 15 Comments
Joined 2 years ago
cake
Cake day: June 22nd, 2023

help-circle

  • By the way, if you’re interested in one of these, they’re available for $200 USD but they’re OS-specific. The iOS variant won’t work with Android and vice-versa.

    I bought the iOS USB-C variant and tried to use it with a Lightning-to-USB-C adapter on my iPhone 13 which didn’t work. People say the Lightning model works fine with an adapter on a USB-C iPhone but I guess the USB-C model isn’t happy with a Lightning iPhone. I decided it was time to upgrade my phone anyways and it worked like a charm on the USB-C iPhone.

    It’s really the only downside of this particular model. The price is great but make certain you’re not going to change between iOS and Android anytime soon!














  • Eh, I’m not entirely sold on that idea.

    I think they do a good job of pointing out “this is a behavior/feature of Rust you need to understand.” However they can send you down the wrong path of correction.

    The compiler error mentioning static lifetime specifiers of &str demonstrates both. It indicates to the developer that ownership and scopes will play a significant role when defining and accessing data. The error though will guide them towards researching how to define static lifetimes and possibly believe that they will need to set this in their functions and structs. Each time you look at questions about this error in places like Stack Overflow with example code you’ll find suggested solutions explaining that a manually-defined static lifetime isn’t necessary to resolve the problem.