From 5d685bc8dec4d63706cf7c9378e7d4268a74bd36 Mon Sep 17 00:00:00 2001 From: "jungin.rhee" Date: Sat, 26 Aug 2023 09:59:28 +0000 Subject: [PATCH] cargo doc --- src/assignments/assignment06/symbolic_differentiation.rs | 2 +- src/assignments/assignment09/bigint.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/assignments/assignment06/symbolic_differentiation.rs b/src/assignments/assignment06/symbolic_differentiation.rs index 2269d13..f46c5fc 100644 --- a/src/assignments/assignment06/symbolic_differentiation.rs +++ b/src/assignments/assignment06/symbolic_differentiation.rs @@ -6,7 +6,7 @@ use std::ops::*; /// Rational number represented by two isize, numerator and denominator. /// /// Each Rational number should be normalized so that `demoninator` is nonnegative and `numerator` and `demoninator` are coprime. -/// See [`normalize`] for examples. As a corner case, 0 is represented by Rational { numerator: 0, demoninator: 0 }. +/// See `normalize` for examples. As a corner case, 0 is represented by Rational { numerator: 0, demoninator: 0 }. /// /// For "natural use", Rational also overloads standard arithmetic operations, i.e, `+`, `-`, `*`, `/`. /// diff --git a/src/assignments/assignment09/bigint.rs b/src/assignments/assignment09/bigint.rs index 33a96e5..b1a1f51 100644 --- a/src/assignments/assignment09/bigint.rs +++ b/src/assignments/assignment09/bigint.rs @@ -11,7 +11,7 @@ use std::{iter::zip, ops::*}; /// For example, the vector `vec![44,345,3]` represents the integer /// `44 * (2^32)^2 + 345 * (2^32) + 3`, /// and the vector `vec![u32::MAX - 5, u32::MAX - 7]` represents the integer -/// `- (5 * 2^32 + 8) +/// `- (5 * 2^32 + 8)` /// /// You will implement the `Add` and `Sub` trait for this type. ///