daily pastebin goal
43%
SHARE
TWEET

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

cwchen Aug 23rd, 2017 154 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top