X-Git-Url: https://git.ralfj.de/rust-101.git/blobdiff_plain/6b347ac8c0f8710bd0ca42d20d32511fcb53f188..d5cee5ca7d257faea7f68b8812bf4d1a88ab5229:/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);