mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-02 01:40:02 +00:00
9 lines
107 B
Rust
9 lines
107 B
Rust
extern crate a;
|
|
|
|
use a::foo;
|
|
|
|
fn main() {
|
|
let x = String::from("Hello");
|
|
println!("{}", foo(x));
|
|
}
|