From f21bfc253ceba07b9be8e4f5db5064827219361f Mon Sep 17 00:00:00 2001 From: Malloc Voidstar <1284317+AlyoshaVasilieva@users.noreply.github.com> Date: Wed, 29 May 2024 10:55:52 -0700 Subject: [PATCH 1/2] Fix typo in CI --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c2f107b..014e490 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -135,7 +135,7 @@ jobs: - uses: actions-rs/cargo@v1 with: command: clippy - args: --all-targets --all-features -- -D clippy::style -D clippy::suspiscious -D clippy::complexity + args: --all-targets --all-features -- -D clippy::style -D clippy::suspicious -D clippy::complexity miri: name: Miri runs-on: ubuntu-latest From dbf32d9cbe5994bbf5dea33998e50cfcca746a5f Mon Sep 17 00:00:00 2001 From: Malloc Voidstar <1284317+AlyoshaVasilieva@users.noreply.github.com> Date: Wed, 29 May 2024 15:49:13 -0700 Subject: [PATCH 2/2] Remove empty doc comments --- eyre/src/lib.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/eyre/src/lib.rs b/eyre/src/lib.rs index 52828b0..ea00ac1 100644 --- a/eyre/src/lib.rs +++ b/eyre/src/lib.rs @@ -624,7 +624,6 @@ fn capture_handler(error: &(dyn StdError + 'static)) -> Box { } impl dyn EyreHandler { - /// pub fn is(&self) -> bool { // Get `TypeId` of the type this function is instantiated with. let t = core::any::TypeId::of::(); @@ -636,7 +635,6 @@ impl dyn EyreHandler { t == concrete } - /// pub fn downcast_ref(&self) -> Option<&T> { if self.is::() { unsafe { Some(&*(self as *const dyn EyreHandler as *const T)) } @@ -645,7 +643,6 @@ impl dyn EyreHandler { } } - /// pub fn downcast_mut(&mut self) -> Option<&mut T> { if self.is::() { unsafe { Some(&mut *(self as *mut dyn EyreHandler as *mut T)) }