Skip to content

Commit 768ced3

Browse files
committed
comment out all 'no_coverage', see rust-lang/rust#84605 and rust-lang/rust#114656
1 parent dc1aa5e commit 768ced3

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

crates/core/src/frame_image_format.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ impl FrameImageFormat {
2828
}
2929

3030
impl Default for FrameImageFormat {
31-
#[cfg_attr(coverage_nightly, no_coverage)]
31+
// #[cfg_attr(coverage_nightly, no_coverage)]
3232
fn default() -> Self {
3333
FrameImageFormat::Png
3434
}

crates/core/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#![feature(variant_count)]
22
// TODO remove feature
33
#![feature(is_some_and)]
4-
#![cfg_attr(coverage_nightly, feature(no_coverage))]
4+
// #![cfg_attr(coverage_nightly, feature(no_coverage))]
55

66
#[macro_use]
77
extern crate static_assertions;

crates/core/src/pixel.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use std::ops::{Index, IndexMut};
66
pub struct Pixel([u8; 4]);
77

88
impl std::fmt::Debug for Pixel {
9-
#[cfg_attr(coverage_nightly, no_coverage)]
9+
// #[cfg_attr(coverage_nightly, no_coverage)]
1010
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1111
f.debug_struct("Pixel")
1212
.field("r", &self.0[0])
@@ -18,7 +18,7 @@ impl std::fmt::Debug for Pixel {
1818
}
1919

2020
impl std::fmt::Display for Pixel {
21-
#[cfg_attr(coverage_nightly, no_coverage)]
21+
// #[cfg_attr(coverage_nightly, no_coverage)]
2222
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
2323
f.debug_struct("Pixel")
2424
.field("r", &self.0[0])

crates/core/src/point.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ impl AsRef<[f64; 2]> for Point {
6161
impl AbsDiffEq for Point {
6262
type Epsilon = <f64 as AbsDiffEq>::Epsilon;
6363

64-
#[cfg_attr(coverage_nightly, no_coverage)]
64+
// #[cfg_attr(coverage_nightly, no_coverage)]
6565
fn default_epsilon() -> Self::Epsilon {
6666
f64::default_epsilon()
6767
}
@@ -72,7 +72,7 @@ impl AbsDiffEq for Point {
7272
}
7373

7474
impl RelativeEq for Point {
75-
#[cfg_attr(coverage_nightly, no_coverage)]
75+
// #[cfg_attr(coverage_nightly, no_coverage)]
7676
fn default_max_relative() -> Self::Epsilon {
7777
f64::default_max_relative()
7878
}
@@ -89,7 +89,7 @@ impl RelativeEq for Point {
8989
}
9090

9191
impl UlpsEq for Point {
92-
#[cfg_attr(coverage_nightly, no_coverage)]
92+
// #[cfg_attr(coverage_nightly, no_coverage)]
9393
fn default_max_ulps() -> u32 {
9494
f64::default_max_ulps()
9595
}

crates/effect/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#![feature(int_roundings)]
2-
#![cfg_attr(coverage_nightly, feature(no_coverage))]
2+
// #![cfg_attr(coverage_nightly, feature(no_coverage))]
33

44
use error::EffectError;
55
use rusvid_core::plane::Plane;

crates/effect/src/library/scripting.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ pub struct ScriptingEffect {
1717
}
1818

1919
impl std::fmt::Debug for ScriptingEffect {
20-
#[cfg_attr(coverage_nightly, no_coverage)]
20+
// #[cfg_attr(coverage_nightly, no_coverage)]
2121
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
2222
f.debug_struct("ScriptingEffect")
2323
.field("id", &self.id)

0 commit comments

Comments
 (0)