struct Profile {
name: &'static str,
languages: [&'static str; 4],
}
fn main() {
let me = Profile {
name: "James",
languages: ["Python", "Typescript", "Rust", "Solidity"]
};
println!("Hi 👋, I'm {}", me.name);
println!("I cook with {:}", me.languages.join(", "));
}
A boy who tinkers
Highlights
- Pro
Pinned Loading
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.
