i havent learned rust yet for becoming-obvious reasons

struct HelloWorld {
  hello: String,
  world: String
}

impl HelloWorld {
  fn print(&self) {
    println!(“{} {}”, self.hello, self.world);
  }
}

fn main() {
  let helloworld = HelloWorld {
    hello: “hello”,
    world: “world”
  };
  helloworld.print();
}
  • [spam][crazy... Undescribed Horrific Abuse, One Victim & Survivor of Many
    • Re: [sp... Undescribed Horrific Abuse, One Victim & Survivor of Many
      • Re:... Undescribed Horrific Abuse, One Victim & Survivor of Many
        • ... Undescribed Horrific Abuse, One Victim & Survivor of Many
          • ... Undescribed Horrific Abuse, One Victim & Survivor of Many
            • ... Undescribed Horrific Abuse, One Victim & Survivor of Many
              • ... Undescribed Horrific Abuse, One Victim & Survivor of Many
                • ... Undescribed Horrific Abuse, One Victim & Survivor of Many

Reply via email to