diff --git a/bastion/src/children.rs b/bastion/src/children.rs index 14836eba..f6d0fd2f 100644 --- a/bastion/src/children.rs +++ b/bastion/src/children.rs @@ -266,6 +266,8 @@ impl Children { /// # Bastion::block_until_stopped(); /// # } /// ``` + /// + /// [`with_exec`]: #method.with_exec pub fn with_redundancy(mut self, redundancy: usize) -> Self { self.redundancy = redundancy; self diff --git a/bastion/src/lib.rs b/bastion/src/lib.rs index a0c47591..4efdee18 100644 --- a/bastion/src/lib.rs +++ b/bastion/src/lib.rs @@ -37,9 +37,9 @@ //! [lightproc]: https://docs.rs/lightproc/ //! -#![doc(html_logo_url = "https://raw.githubusercontent.com/bastion-rs/bastion/master/img/bastion-logo.png")] - - +#![doc( + html_logo_url = "https://raw.githubusercontent.com/bastion-rs/bastion/master/img/bastion-logo.png" +)] // Force missing implementations #![warn(missing_docs)] #![warn(missing_debug_implementations)] diff --git a/bastion/src/supervisor.rs b/bastion/src/supervisor.rs index 86e41d7f..bc9411c1 100644 --- a/bastion/src/supervisor.rs +++ b/bastion/src/supervisor.rs @@ -421,7 +421,7 @@ impl Supervisor { /// of its elements panicked or returned an error). /// /// The default strategy is - /// [`SupervisorStrategy::OneForOne`]. + /// [`SupervisionStrategy::OneForOne`]. /// /// # Arguments /// @@ -874,7 +874,7 @@ impl SupervisorRef { /// returned an error). /// /// The default strategy `Supervisor` is - /// [`SupervisorStrategy::OneForOne`]. + /// [`SupervisionStrategy::OneForOne`]. /// /// This method returns `()` if it succeeded, or `Err(())` /// otherwise.