26 lines
252 B
Rust
26 lines
252 B
Rust
|
|
fn main() -> int {
|
|
let v: int = 123;
|
|
|
|
let ch = 'c';
|
|
let s = "hello world";
|
|
|
|
inner();
|
|
|
|
fn inner() {
|
|
print_int(v);
|
|
}
|
|
|
|
print_str(v);
|
|
}
|
|
|
|
|
|
fn print_int(v: int) {
|
|
}
|
|
|
|
fn print_str(v: str) {
|
|
}
|
|
|
|
// vim: syntax=rust
|
|
|