• Ephera@lemmy.ml
    ·
    17 days ago

    I only really understand half of it without getting my fingers on it, but sounds like some good stuff.

    The path::absolute() that's hidden in the stabilized items is definitely something I've wanted for a while, though.

    • Tmpod@lemmy.pt
      hexagon
      ·
      16 days ago

      The two biggest things are lifetime extensions and inline consts. Both will allow you to write more concise code and, in the case of lifetime extensions, may help eliminate some bugs, since you won't need to work around that limitation anymore.

      • Ephera@lemmy.ml
        ·
        16 days ago

        Yeah, I'm imagining, I've run into these problems in the past and then the compiler told me to do it differently and so I did. I'm definitely glad that such unobvious behavior is being reduced, I just probably won't realize until I'm writing similar code the next time and the compiler does not complain.