aboutsummaryrefslogtreecommitdiff
path: root/azalea/src/pathfinder/custom_state.rs
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2026-01-18 08:41:46 +0600
committermat <git@matdoes.dev>2026-01-18 08:41:46 +0600
commitfb92f65b3da49b6487bf6fa05010b12a3ab5d4ed (patch)
treeaaa542011730f36e805f1ec31ba37c8387dc48b9 /azalea/src/pathfinder/custom_state.rs
parent5c3ea8e1d97d92b4ea9c406bbb59f928ee0c6a66 (diff)
downloadazalea-drasl-fb92f65b3da49b6487bf6fa05010b12a3ab5d4ed.tar.xz
doc and typo fix
Diffstat (limited to 'azalea/src/pathfinder/custom_state.rs')
-rw-r--r--azalea/src/pathfinder/custom_state.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea/src/pathfinder/custom_state.rs b/azalea/src/pathfinder/custom_state.rs
index f5129516..52af7687 100644
--- a/azalea/src/pathfinder/custom_state.rs
+++ b/azalea/src/pathfinder/custom_state.rs
@@ -25,9 +25,9 @@ pub struct CustomPathfinderState(pub Arc<RwLock<CustomPathfinderStateRef>>);
/// Arbitrary state that's passed to the pathfinder, intended to be used for
/// custom moves that need to access things that are usually inaccessible.
///
-/// This is included in [`PathfinderCtx`].
+/// This is included in [`MovesCtx`].
///
-/// [`PathfinderCtx`]: crate::pathfinder::PathfinderCtx
+/// [`MovesCtx`]: crate::pathfinder::MovesCtx
#[derive(Debug, Default)]
pub struct CustomPathfinderStateRef {
map: FxHashMap<TypeId, Box<dyn Any + Send + Sync>>,