mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-19 02:57:33 +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));
|
|
}
|