From 5f2ecbe856a02e7bd17f43de63c8136db7947715 Mon Sep 17 00:00:00 2001
From: danieleades <33452915+danieleades@users.noreply.github.com>
Date: Fri, 20 Sep 2024 14:53:46 +0100
Subject: [PATCH] bump pinned clippy version

---
 .github/workflows/test.yml | 2 +-
 mavlink-core/src/utils.rs  | 4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index d3f2ef4..1eb228d 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -19,7 +19,7 @@ jobs:
       - uses: actions/checkout@master
       - uses: dtolnay/rust-toolchain@master
         with:
-          toolchain: nightly-2023-10-21
+          toolchain: nightly-2024-09-10
           components: clippy
       - uses: actions-rs-plus/clippy-check@v2
         with:
diff --git a/mavlink-core/src/utils.rs b/mavlink-core/src/utils.rs
index efefcba..b812636 100644
--- a/mavlink-core/src/utils.rs
+++ b/mavlink-core/src/utils.rs
@@ -19,7 +19,9 @@ pub fn remove_trailing_zeroes(data: &[u8]) -> usize {
 }
 
 /// A trait very similar to `Default` but is only implemented for the equivalent Rust types to
-/// `MavType`s. This is only needed because rust doesn't currently implement `Default` for arrays
+/// `MavType`s.
+///
+/// This is only needed because rust doesn't currently implement `Default` for arrays
 /// of all sizes. In particular this trait is only ever used when the "serde" feature is enabled.
 /// For more information, check out [this issue](https://users.rust-lang.org/t/issue-for-derives-for-arrays-greater-than-size-32/59055/3).
 pub trait RustDefault: Copy {
-- 
GitLab