Made with KolourPaint and screenshots from Kate (with the GitHub theme).

  • calcopiritus@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    4 hours ago

    fully qualified type names make any language awful.

    Here’s the same example in rust:

    let a = std::rc::Rc::new(std::vec::Vec<u8, MyAllocator>::new());

    I believe u8 also comes from a module, so it would be something like std::u8::u8, but I’m not sure.