Fix format

This commit is contained in:
Aviv Palivoda committed 2019-03-22 16:23:15 +02:00
1 parent a9e2cc90d4
commit 474577beca
1 file changed
+1 -5
+1 -5
View File
@@ -55,11 +55,7 @@ pub fn import_module(vm: &VirtualMachine, current_path: PathBuf, module_name: &s
Ok(module)
}
fn find_source(
vm: &VirtualMachine,
current_path: PathBuf,
name: &str,
) -> Result<PathBuf, String> {
fn find_source(vm: &VirtualMachine, current_path: PathBuf, name: &str) -> Result<PathBuf, String> {
let sys_path = vm.get_attribute(vm.sys_module.clone(), "path").unwrap();
let mut paths: Vec<PathBuf> = objsequence::get_elements(&sys_path)
.iter()