fn add(a: i32, b: i32) i32 {
return a + b;
}But then, of course, it wouldn't have much to do with Zig's "appeal as better C than C", which prompted this whole discussion.
Rust quickly becomes harder though, while Zig is much easier to grasp.