projects
/
rust-101.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add a README explaining the purpose of the workspace/ folder
[rust-101.git]
/
workspace
/
src
/
part07.rs
diff --git
a/workspace/src/part07.rs
b/workspace/src/part07.rs
index 75bd0cca93c5fd006083406936ea00d97fd1e649..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);
@@
-61,7
+61,7
@@
fn test_min() {
// ## Formatting
// ## Formatting
-// All formating is handled by [`std::fmt`](http://doc.rust-lang.org/std/fmt/index.html). I won't explain
+// All formating is handled by [`std::fmt`](http
s
://doc.rust-lang.org/std/fmt/index.html). I won't explain
// all the details, and refer you to the documentation instead.
use std::fmt;
// all the details, and refer you to the documentation instead.
use std::fmt;