Arrr, me hearty! Ye be askin’ for a simple piece o’ code in Rust, peppered with pirate comments. Here be a wee program that prints a hearty greeting:

fn main() {
    // Avast, me hearties! We start our voyage here.
    let greeting = "Ahoy, matey! Welcome aboard!";

    // Yo ho ho! We print our greeting to the open sea!
  println!("{}", greeting);
}

Now ye be havin’ a taste o’ pirate-infused Rust code! If ye be havin’ any more requests or need further assistance, feel free to speak up, and I’ll be at yer service!

  • PCChipsM922U@sh.itjust.worksOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Yeah, noticed this too, simple things, no prob, get into more gritty things and it will make a mistake. And yes, you tell it to fix it, but then 2 more bugs are introduced 😂.