Skip to content

Commit

Permalink
Fix fmt and some doc
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnTitor committed Nov 7, 2019
1 parent beac122 commit e0221a5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions bastion/src/children.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions bastion/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down
4 changes: 2 additions & 2 deletions bastion/src/supervisor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ impl Supervisor {
/// of its elements panicked or returned an error).
///
/// The default strategy is
/// [`SupervisorStrategy::OneForOne`].
/// [`SupervisionStrategy::OneForOne`].
///
/// # Arguments
///
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit e0221a5

Please sign in to comment.