projects
/
rust-101.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
nice code block style for small displays
[rust-101.git]
/
workspace
/
src
/
part07.rs
diff --git
a/workspace/src/part07.rs
b/workspace/src/part07.rs
index 3ea4cc089e1679bd9e5de2a12fc34d0b85d350dc..916cb01bc67514492a933ceee01caef41b8ad665 100644
(file)
--- a/
workspace/src/part07.rs
+++ b/
workspace/src/part07.rs
@@
-39,7
+39,7
@@
impl PartialEq for BigInt {
}
}
-// Now we can compare `BigInt`s. Rust treats `P
ra
tialEq` special in that it is wired to the operator `==`:
+// Now we can compare `BigInt`s. Rust treats `P
ar
tialEq` special in that it is wired to the operator `==`:
fn compare_big_ints() {
let b1 = BigInt::new(13);
let b2 = BigInt::new(37);
fn compare_big_ints() {
let b1 = BigInt::new(13);
let b2 = BigInt::new(37);