Skip to content

Commit

Permalink
Merge pull request #70 from JohnTitor/update-clippy-ci
Browse files Browse the repository at this point in the history
Remove deprecated action
  • Loading branch information
r3v2d0g authored Nov 7, 2019
2 parents 3af7ed0 + ec9e2a5 commit f59642b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 11 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- id: component
uses: actions-rs/components-nightly@v1
with:
component: clippy
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ steps.component.outputs.toolchain }}
toolchain: nightly
components: clippy
override: true
- run: rustup component add clippy
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
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 f59642b

Please sign in to comment.