Skip to content

Commit

Permalink
Squashed more warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
mjhouse committed Sep 4, 2023
1 parent 87c45f8 commit b48db19
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 20 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,8 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Build Documentation
uses: actions-rs/cargo@v1
with:
command: doc
args: --all --no-deps
run: |
cargo doc --all --no-deps
- name: Configure Documentation
run: |
echo "<meta http-equiv=\"refresh\" content=\"0; url=deaf/index.html\">" > target/doc/index.html
Expand Down
14 changes: 1 addition & 13 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,13 @@ jobs:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Build
run: |
cargo build --release
- name: Test
run: |
cargo test
# - uses: actions-rs/toolchain@v1
# with:
# toolchain: stable
# - name: Build
# uses: actions-rs/cargo@v1
# with:
# command: build
# - name: Test
# uses: actions-rs/cargo@v1
# with:
# command: test
merge:
name: Merge
needs: [ test ]
Expand Down
6 changes: 3 additions & 3 deletions src/common/update.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pub trait Updateable {
}
}

/// Generic implementation for Vec<T> where
/// Generic implementation for Vec where
/// `T` is updateable.
impl<T> Updateable for Vec<T>
where
Expand All @@ -27,7 +27,7 @@ where
}
}

/// Generic implementation for Option<T> where
/// Generic implementation for Option where
/// `T` is updateable.
impl<T> Updateable for Option<T>
where
Expand All @@ -40,7 +40,7 @@ where
}
}

/// Placeholder target for Update<T>
/// Placeholder target for Update
pub struct All {}

/// The global instance of the queue of updates
Expand Down

0 comments on commit b48db19

Please sign in to comment.