Skip to content

Commit ce53f1b

Browse files
committed
Fix broken links
Signed-off-by: Michael X. Grey <grey@openrobotics.org>
1 parent fffd878 commit ce53f1b

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/map.rs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ use std::future::Future;
2929
pub struct MapDef<F>(F);
3030

3131
/// Maps are used to perform simple transformations of data which do not require
32-
/// any direct [`World`] access or any persistent system state. They are more
33-
/// efficient than [`Service`] or [`Callback`] when suitable.
32+
/// any direct [`World`][4] access or any persistent system state. They are more
33+
/// efficient than [`Service`][5] or [`Callback`][6] when suitable.
3434
///
3535
/// There are two kinds of functions that can be used as maps:
3636
/// * **Blocking**: A regular function with a single input and any output.
3737
/// All system execution will be blocked while this is running, similar to flushing [`Commands`].
3838
/// * **Async**: A function that takes a single input and returns something that implements the [`Future`] trait.
39-
/// The [`Future`] will be executed in the [`AsyncComputeTaskPool`] unless the `single_threaded_async` feature is active.
39+
/// The [`Future`] will be executed in the [`AsyncComputeTaskPool`][7] unless the `single_threaded_async` feature is active.
4040
///
4141
/// If you want to insert a map into a workflow or impulse chain, you can pass your function into one of the following,
4242
/// depending on whether you want blocking or async:
@@ -46,7 +46,7 @@ pub struct MapDef<F>(F);
4646
/// * [`Builder::create_map_block`](crate::Builder::create_map_block)
4747
/// * [`Impulse::map_block`](crate::Impulse::map_block)
4848
/// * **Async**
49-
/// * [`Chain::map_async`](crate::Chain:::map_async)
49+
/// * [`Chain::map_async`](crate::Chain::map_async)
5050
/// * [`Chain::map_async_node`](crate::Chain::map_async_node)
5151
/// * [`Builder::create_map_async`](crate::Builder::create_map_async)
5252
/// * [`Impulse::map_async`](crate::Impulse::map_async)
@@ -65,10 +65,10 @@ pub struct MapDef<F>(F);
6565
/// [1]: AsMap::as_map
6666
/// [2]: IntoBlockingMap::into_blocking_map
6767
/// [3]: IntoAsyncMap::into_async_map
68-
/// [World]: bevy_ecs::prelude::World
69-
/// [Service]: crate::Service
70-
/// [Callback]: crate::Callback
71-
/// [AsyncComputeTaskPool]: bevy_tasks::AsyncComputeTaskPool
68+
/// [4]: bevy_ecs::prelude::World
69+
/// [5]: crate::Service
70+
/// [6]: crate::Callback
71+
/// [7]: bevy_tasks::AsyncComputeTaskPool
7272
#[allow(clippy::wrong_self_convention)]
7373
pub trait AsMap<M> {
7474
type MapType;

0 commit comments

Comments
 (0)