From 82d9bfdc41f33d92f283b0f9c63c3912bbf01e13 Mon Sep 17 00:00:00 2001 From: John Date: Fri, 27 Dec 2024 18:11:44 -0600 Subject: [PATCH] fix load_world docs --- src/loader.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/loader.rs b/src/loader.rs index 9aa2166..fcf945e 100644 --- a/src/loader.rs +++ b/src/loader.rs @@ -191,7 +191,7 @@ impl Loader { /// The returned [`World`] provides the deserialized data from the world file. It does not load /// any maps or tilesets. /// ## Note - /// The ['WorldPattern`] struct provides [`WorldPattern::capture_path`] and [`WorldPattern::capture_paths`] + /// The ['WorldPattern`] struct provides [`WorldPattern::match_path`] and [`WorldPattern::match_paths`] /// as utility functions to test paths and return parsed [`WorldMap`]s. pub fn load_world(&mut self, path: impl AsRef) -> Result { crate::world::parse_world(path.as_ref(), &mut self.reader)