1 2 3 4 5 6 7 8 9 10 11 12 13
const std = @import("std"); /// Doc comment for the function fn add(a: i32, b: i32) i32 { // This comment should be removed return a + b; } pub fn main() void { const greeting = "Hello // not a comment"; // TODO: add error handling _ = add(1, 2); }