From 1a7d7c268a240463836f2a2ddecd06d352aa01bd Mon Sep 17 00:00:00 2001 From: Max Bradbury Date: Wed, 19 May 2021 17:52:12 +0100 Subject: [PATCH] rename --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 0d5c444..6eed072 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -121,7 +121,7 @@ pub struct Game { pub struct GameParseError; impl Game { - pub fn from(path: PathBuf) -> Result { + pub fn from_dir(path: PathBuf) -> Result { let mut images = Vec::new(); let mut tiles = Vec::new(); let mut entities = Vec::new();