diff --git a/repbuild/src/main.rs b/repbuild/src/main.rs index f3f596eb0..d1e8b09df 100644 --- a/repbuild/src/main.rs +++ b/repbuild/src/main.rs @@ -72,12 +72,12 @@ fn get_fs() -> Result, io::Error> { )?; io::copy( - &mut File::open(Path::new("repbuild/limine.cfg"))?, + &mut File::open("repbuild/limine.cfg")?, &mut fs.root_dir().create_file("limine.cfg")?, )?; io::copy( - &mut File::open(Path::new("repbuild/background.bmp"))?, + &mut File::open("repbuild/background.bmp")?, &mut fs.root_dir().create_file("background.bmp")?, )?;