Skip to content

Commit

Permalink
Remove empty doc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
AlyoshaVasilieva committed May 29, 2024
1 parent f21bfc2 commit dbf32d9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions eyre/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,6 @@ fn capture_handler(error: &(dyn StdError + 'static)) -> Box<dyn EyreHandler> {
}

impl dyn EyreHandler {
///
pub fn is<T: EyreHandler>(&self) -> bool {

Check warning on line 627 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Check (stable)

missing documentation for a method

Check warning on line 627 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Clippy (stable)

missing documentation for a method

Check warning on line 627 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite (beta, --no-default-features)

missing documentation for a method

Check warning on line 627 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite (stable, --no-default-features --features track-caller)

missing documentation for a method

Check warning on line 627 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite (beta, --no-default-features --features auto-install)

missing documentation for a method

Check warning on line 627 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite (stable)

missing documentation for a method

Check warning on line 627 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite (beta, --no-default-features --features track-caller)

missing documentation for a method

Check warning on line 627 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite (beta)

missing documentation for a method

Check warning on line 627 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite (beta, --all-features)

missing documentation for a method

Check warning on line 627 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite (beta, --features pyo3)

missing documentation for a method

Check warning on line 627 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite (stable, --all-features)

missing documentation for a method

Check warning on line 627 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite (stable, --features pyo3)

missing documentation for a method

Check warning on line 627 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite (stable, --no-default-features --features auto-install)

missing documentation for a method

Check warning on line 627 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite (stable, --no-default-features)

missing documentation for a method

Check warning on line 627 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite (ubuntu-latest)

missing documentation for a method

Check warning on line 627 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite (--no-default-features)

missing documentation for an associated function

Check warning on line 627 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite (--no-default-features --features auto-install)

missing documentation for an associated function

Check warning on line 627 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite (--no-default-features --features track-caller)

missing documentation for an associated function

Check warning on line 627 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite

missing documentation for an associated function

Check warning on line 627 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite (macOS-latest)

missing documentation for a method

Check warning on line 627 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite (windows-latest)

missing documentation for a method
// Get `TypeId` of the type this function is instantiated with.
let t = core::any::TypeId::of::<T>();
Expand All @@ -636,7 +635,6 @@ impl dyn EyreHandler {
t == concrete
}

///
pub fn downcast_ref<T: EyreHandler>(&self) -> Option<&T> {

Check warning on line 638 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Check (stable)

missing documentation for a method

Check warning on line 638 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Clippy (stable)

missing documentation for a method

Check warning on line 638 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite (beta, --no-default-features)

missing documentation for a method

Check warning on line 638 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite (stable, --no-default-features --features track-caller)

missing documentation for a method

Check warning on line 638 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite (beta, --no-default-features --features auto-install)

missing documentation for a method

Check warning on line 638 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite (stable)

missing documentation for a method

Check warning on line 638 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite (beta, --no-default-features --features track-caller)

missing documentation for a method

Check warning on line 638 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite (beta)

missing documentation for a method

Check warning on line 638 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite (beta, --all-features)

missing documentation for a method

Check warning on line 638 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite (beta, --features pyo3)

missing documentation for a method

Check warning on line 638 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite (stable, --all-features)

missing documentation for a method

Check warning on line 638 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite (stable, --features pyo3)

missing documentation for a method

Check warning on line 638 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite (stable, --no-default-features --features auto-install)

missing documentation for a method

Check warning on line 638 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite (stable, --no-default-features)

missing documentation for a method

Check warning on line 638 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite (ubuntu-latest)

missing documentation for a method

Check warning on line 638 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite (--no-default-features)

missing documentation for an associated function

Check warning on line 638 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite (--no-default-features --features auto-install)

missing documentation for an associated function

Check warning on line 638 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite (--no-default-features --features track-caller)

missing documentation for an associated function

Check warning on line 638 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite

missing documentation for an associated function

Check warning on line 638 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite (macOS-latest)

missing documentation for a method

Check warning on line 638 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite (windows-latest)

missing documentation for a method
if self.is::<T>() {
unsafe { Some(&*(self as *const dyn EyreHandler as *const T)) }
Expand All @@ -645,7 +643,6 @@ impl dyn EyreHandler {
}
}

///
pub fn downcast_mut<T: EyreHandler>(&mut self) -> Option<&mut T> {

Check warning on line 646 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Check (stable)

missing documentation for a method

Check warning on line 646 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Clippy (stable)

missing documentation for a method

Check warning on line 646 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite (beta, --no-default-features)

missing documentation for a method

Check warning on line 646 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite (stable, --no-default-features --features track-caller)

missing documentation for a method

Check warning on line 646 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite (beta, --no-default-features --features auto-install)

missing documentation for a method

Check warning on line 646 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite (stable)

missing documentation for a method

Check warning on line 646 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite (beta, --no-default-features --features track-caller)

missing documentation for a method

Check warning on line 646 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite (beta)

missing documentation for a method

Check warning on line 646 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite (beta, --all-features)

missing documentation for a method

Check warning on line 646 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite (beta, --features pyo3)

missing documentation for a method

Check warning on line 646 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite (stable, --all-features)

missing documentation for a method

Check warning on line 646 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite (stable, --features pyo3)

missing documentation for a method

Check warning on line 646 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite (stable, --no-default-features --features auto-install)

missing documentation for a method

Check warning on line 646 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite (stable, --no-default-features)

missing documentation for a method

Check warning on line 646 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite (ubuntu-latest)

missing documentation for a method

Check warning on line 646 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite (--no-default-features)

missing documentation for an associated function

Check warning on line 646 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite (--no-default-features --features auto-install)

missing documentation for an associated function

Check warning on line 646 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite (--no-default-features --features track-caller)

missing documentation for an associated function

Check warning on line 646 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite

missing documentation for an associated function

Check warning on line 646 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite (macOS-latest)

missing documentation for a method

Check warning on line 646 in eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite (windows-latest)

missing documentation for a method
if self.is::<T>() {
unsafe { Some(&mut *(self as *mut dyn EyreHandler as *mut T)) }
Expand Down

0 comments on commit dbf32d9

Please sign in to comment.