Updated from_file() in ExternalLibrary trait

This commit is contained in:
G2-Games 2023-12-09 23:39:15 -06:00
parent 594e426a3f
commit 886fc1a3c8

View file

@ -2,8 +2,8 @@ use std::path::PathBuf;
pub trait ExternalLibrary { pub trait ExternalLibrary {
fn from_file(&mut self, file: &PathBuf) -> Self; fn from_file(file: &PathBuf) -> Self;
fn write(&self) { fn write(&self) {
unimplemented!(); unimplemented!();
} }
} }