Skip to content

Commit

Permalink
Minor: Relaxed constraints on Debug.
Browse files Browse the repository at this point in the history
  • Loading branch information
martinfrances107 committed Jun 28, 2024
1 parent 4c7ceba commit c948d4e
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion lib/src/path/tests/index_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ mod index {

#[inline]
fn equirectangular<
EP: Clone + Stream<EP = EP, T = T> + Debug + Default,
EP: Clone + Stream<EP = EP, T = T> + Default,
T: 'static + AbsDiffEq<Epsilon = T> + CoordFloat + Default + FloatConst,
>() -> ProjectorAntimeridianResampleNoneNoClip<EP, Equirectangular<T>, T>
{
Expand Down
2 changes: 1 addition & 1 deletion lib/src/projection/builder_conic/fit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ where

impl<PR, T> Fit for BuilderConicAntimeridianResampleNoneClip<Bounds<T>, PR, T>
where
PR: Clone + Debug + PRConic<T = T> + Transform<T = T>,
PR: Clone + PRConic<T = T> + Transform<T = T>,
T: 'static + CoordFloat + FloatConst,
{
/// f32 or f64
Expand Down
2 changes: 1 addition & 1 deletion lib/src/projection/builder_mercator/clip_angle_set.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ impl<DRAIN, PCNC, PCNU, PR, RC, RU, T> ClipAngleSet
for Builder<ClipAntimeridianU<RC, T>, DRAIN, PCNU, PR, RU, T>
where
PCNU: Clone + Connectable<Output<DRAIN> = PCNC>,
RU: Clone + Connectable<Output<PCNC> = RC> + Debug,
RU: Clone + Connectable<Output<PCNC> = RC>,
PR: Clone + Transform<T = T>,
T: 'static + AbsDiffEq<Epsilon = T> + CoordFloat + FloatConst,
{
Expand Down
2 changes: 1 addition & 1 deletion lib/src/projection/builder_mercator/fit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ where
impl<PR, T> Fit
for BuilderMercatorAntimeridianResampleNoneClip<Bounds<T>, PR, T>
where
PR: Clone + Debug + Transform<T = T> + TransformExtent<T = T>,
PR: Clone + Transform<T = T> + TransformExtent<T = T>,
T: 'static + CoordFloat + FloatConst,
{
/// f32 or f64
Expand Down
2 changes: 1 addition & 1 deletion lib/src/projection/builder_mercator_transverse/fit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ where
impl<PR, T> Fit
for BuilderMercatorTransverseAntimeridianResampleNoneClip<Bounds<T>, PR, T>
where
PR: Clone + Debug + Transform<T = T> + TransformExtent<T = T>,
PR: Clone + Transform<T = T> + TransformExtent<T = T>,
T: 'static + AbsDiffEq<Epsilon = T> + CoordFloat + FloatConst,
{
/// f32 or f64
Expand Down
12 changes: 6 additions & 6 deletions lib/src/projection/fit_clip.rs
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,8 @@ where
CLIPU: Clone + ConnectableClip<Output = CLIPC, SC = RC>,
CLIPUint: Clone + ConnectableClip<Output = CLIPCint, SC = RCint>,
PR: Transform<T = T>,
RU: Clone + Connectable<Output<PCNC<Bounds<T>, T>> = RC> + Debug,
RUint: Clone + Connectable<Output<NoPCNC<Bounds<T>>> = RCint> + Debug,
RU: Clone + Connectable<Output<PCNC<Bounds<T>, T>> = RC>,
RUint: Clone + Connectable<Output<NoPCNC<Bounds<T>>> = RCint>,
T: 'static + CoordFloat + FloatConst,
{
fit_extent_clip::<
Expand Down Expand Up @@ -348,8 +348,8 @@ where
CLIPUint: Clone + ConnectableClip<Output = CLIPCint, SC = RCint>,
CLIPCint: Clone + Stream<EP = Bounds<T>, T = T>,
PR: Transform<T = T>,
RU: Clone + Connectable<Output<PCNC<Bounds<T>, T>> = RC> + Debug,
RUint: Clone + Connectable<Output<NoPCNC<Bounds<T>>> = RCint> + Debug,
RU: Clone + Connectable<Output<PCNC<Bounds<T>, T>> = RC>,
RUint: Clone + Connectable<Output<NoPCNC<Bounds<T>>> = RCint>,
T: 'static + CoordFloat + FloatConst,
{
let two = T::from(2.0_f64).unwrap();
Expand Down Expand Up @@ -440,8 +440,8 @@ where
CLIPCint: Clone + Stream<EP = Bounds<T>, T = T>,
CLIPUint: Clone + ConnectableClip<Output = CLIPCint, SC = RCint>,
PR: Clone + Transform<T = T>,
RU: Clone + Connectable<Output<PCNC<Bounds<T>, T>> = RC> + Debug,
RUint: Clone + Connectable<Output<NoPCNC<Bounds<T>>> = RCint> + Debug,
RU: Clone + Connectable<Output<PCNC<Bounds<T>, T>> = RC>,
RUint: Clone + Connectable<Output<NoPCNC<Bounds<T>>> = RCint>,
T: 'static + CoordFloat + FloatConst,
{
let two = T::from(2.0_f64).unwrap();
Expand Down
10 changes: 5 additions & 5 deletions lib/src/projection/fit_no_clip.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ where
CLIPU: ConnectableClip<Output = CLIPC, SC = RC>,
CLIPC: Clone + Stream<EP = Bounds<T>, T = T>,
PR: Transform<T = T>,
RU: Clone + Connectable<Output<NoPCNC<Bounds<T>>> = RC> + Debug,
RU: Clone + Connectable<Output<NoPCNC<Bounds<T>>> = RC>,
T: 'static + CoordFloat + FloatConst,
{
let mut builder = builder.clone();
Expand Down Expand Up @@ -99,7 +99,7 @@ where
CLIPU: Clone + ConnectableClip<Output = CLIPC, SC = RC>,
CLIPC: Clone + Stream<EP = Bounds<T>, T = T>,
PR: Transform<T = T>,
RU: Clone + Connectable<Output<NoPCNC<Bounds<T>>> = RC> + Debug,
RU: Clone + Connectable<Output<NoPCNC<Bounds<T>>> = RC>,
T: 'static + CoordFloat + FloatConst,
{
let two = T::from(2.0_f64).unwrap();
Expand Down Expand Up @@ -145,7 +145,7 @@ where
CLIPU: Clone + ConnectableClip<Output = CLIPC, SC = RC>,
CLIPC: Clone + Stream<EP = Bounds<T>, T = T>,
PR: Transform<T = T>,
RU: Clone + Connectable<Output<NoPCNC<Bounds<T>>> = RC> + Debug,
RU: Clone + Connectable<Output<NoPCNC<Bounds<T>>> = RC>,
T: 'static + CoordFloat + FloatConst,
{
fit_extent_no_clip(
Expand Down Expand Up @@ -183,7 +183,7 @@ where
CLIPU: Clone + ConnectableClip<Output = CLIPC, SC = RC>,
CLIPC: Clone + Stream<EP = Bounds<T>, T = T>,
PR: Transform<T = T>,
RU: Clone + Connectable<Output<NoPCNC<Bounds<T>>> = RC> + Debug,
RU: Clone + Connectable<Output<NoPCNC<Bounds<T>>> = RC>,
T: 'static + CoordFloat + FloatConst,
{
let two = T::from(2.0_f64).unwrap();
Expand Down Expand Up @@ -228,7 +228,7 @@ where
+ TranslateSet<T = T>,
CLIPU: Clone + ConnectableClip<Output = CLIPC, SC = RC>,
CLIPC: Clone + Stream<EP = Bounds<T>, T = T>,
RU: Clone + Connectable<Output<NoPCNC<Bounds<T>>> = RC> + Debug,
RU: Clone + Connectable<Output<NoPCNC<Bounds<T>>> = RC>,
T: 'static + CoordFloat + FloatConst,
{
let two = T::from(2.0_f64).unwrap();
Expand Down

0 comments on commit c948d4e

Please sign in to comment.