Advertisement
Guest User

Untitled

a guest
Mar 10th, 2019
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Rust 0.33 KB | None | 0 0
  1.  pub fn import(&self, filename:String, import_level:u32, import_name:&str, import_list:&Vec<Import>) -> &File {
  2.             self.input_file = match File::open(filename) { Ok(file) => file };
  3.  
  4.             self.master_file = match tempfile() { Ok(file) => &file };
  5.            
  6.             return &self.master_file;            
  7.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement