Advertisement
cwchen

[Rust] Writing an application in a Rust application project.

Aug 23rd, 2017
1,381
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Rust 0.13 KB | None | 0 0
  1. // myapp/src/main.rs
  2.  
  3. // Call mylib
  4. extern crate mylib;
  5.  
  6. fn main() {
  7.     assert_eq!(mylib::hello("Michael"), "Hello, Michael");
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement