From bc546300f08bf92d570797c65adc7e7db6026fc9 Mon Sep 17 00:00:00 2001 From: Johannes Date: Sat, 30 Nov 2024 10:30:14 +0100 Subject: [PATCH] Bump `cargo-deny` to `2.0.3` (#416) * Bump cargo-deny to 2.0.3 * typedefs: Fix clippy rustdoc suggestions * audit_check.yml: Remove issues write-permissions. Intended was cargo-deny to open issues if anything went wrong, but CI fails and sends notice anyway. --- .github/workflows/audit_check.yml | 3 +-- src/typedefs.rs | 9 +++------ 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/audit_check.yml b/.github/workflows/audit_check.yml index 271bb013..94277c71 100644 --- a/.github/workflows/audit_check.yml +++ b/.github/workflows/audit_check.yml @@ -1,7 +1,6 @@ name: cargo deny (licenses, advisories, sources) permissions: contents: read - issues: write on: push: @@ -25,6 +24,6 @@ jobs: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: persist-credentials: false - - uses: EmbarkStudios/cargo-deny-action@f87fcad0e65efa7cbdec993036c394fa9be14262 + - uses: EmbarkStudios/cargo-deny-action@2d8c9929d8f9f42bedba73f1287cb0b479f07acb with: command: check ${{ matrix.checks }} diff --git a/src/typedefs.rs b/src/typedefs.rs index 58bdca71..780dfffe 100644 --- a/src/typedefs.rs +++ b/src/typedefs.rs @@ -20,8 +20,7 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -/// -/// Trait implementation macros +// Trait implementation macros #[cfg(feature = "safe_api")] /// Macro that implements the `Default` trait using a CSPRNG. @@ -174,8 +173,7 @@ macro_rules! impl_try_from_trait (($name:ident) => ( } )); -/// -/// Function implementation macros +// Function implementation macros /// Macro to implement a `from_slice()` function. Returns `UnknownCryptoError` /// if the slice length is not accepted. @@ -463,8 +461,7 @@ macro_rules! test_generate_variable (($name:ident) => ( } )); -/// -/// Newtype implementation macros +// Newtype implementation macros /// Macro to construct a type containing sensitive data, using a fixed-size /// array.