Skip to content

Commit

Permalink
fix load_world docs
Browse files Browse the repository at this point in the history
  • Loading branch information
JtotheThree committed Dec 28, 2024
1 parent 7f3b082 commit 82d9bfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/loader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ impl<Cache: ResourceCache, Reader: ResourceReader> Loader<Cache, Reader> {
/// 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<Path>) -> Result<World> {
crate::world::parse_world(path.as_ref(), &mut self.reader)
Expand Down

0 comments on commit 82d9bfd

Please sign in to comment.