X-Git-Url: https://git.ralfj.de/rust-101.git/blobdiff_plain/6b347ac8c0f8710bd0ca42d20d32511fcb53f188..706bf6cb37885ca97a49f772de00b535cf3dbf9f:/workspace/src/part07.rs?ds=inline diff --git a/workspace/src/part07.rs b/workspace/src/part07.rs index 3ea4cc0..916cb01 100644 --- 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 `PratialEq` special in that it is wired to the operator `==`: +// Now we can compare `BigInt`s. Rust treats `PartialEq` special in that it is wired to the operator `==`: fn compare_big_ints() { let b1 = BigInt::new(13); let b2 = BigInt::new(37);