Skip to content

Commit d839ba5

Browse files
bors[bot]tspiteri
andauthored
Merge #46
46: Remove hidden field from ExtendedGcd r=cuviper a=tspiteri Fixes #39 Co-authored-by: Trevor Spiteri <[email protected]>
2 parents 7a8397f + 172b0e3 commit d839ba5

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/lib.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -187,14 +187,12 @@ pub trait Integer: Sized + Num + PartialOrd + Ord + Eq {
187187
gcd: r.1,
188188
x: s.1,
189189
y: t.1,
190-
_hidden: (),
191190
}
192191
} else {
193192
ExtendedGcd {
194193
gcd: Self::zero() - r.1,
195194
x: Self::zero() - s.1,
196195
y: Self::zero() - t.1,
197-
_hidden: (),
198196
}
199197
}
200198
}
@@ -356,7 +354,6 @@ pub struct ExtendedGcd<A> {
356354
pub gcd: A,
357355
pub x: A,
358356
pub y: A,
359-
_hidden: (),
360357
}
361358

362359
/// Simultaneous integer division and modulus

0 commit comments

Comments
 (0)