diff --git a/src/assignments/assignment02.rs b/src/assignments/assignment02.rs index 9ea8614..cd60e55 100644 --- a/src/assignments/assignment02.rs +++ b/src/assignments/assignment02.rs @@ -38,7 +38,7 @@ pub(crate) fn gcd(lhs: u64, rhs: u64) -> u64 { todo!() } -/// Returns the array of nC0, nC1, nC2, ..., nCn, where nCk = n! / (k! * (n-k)!). +/// Returns the array of nC0, nC1, nC2, ..., nCn, where nCk = n! / (k! * (n-k)!). (We assume the absence of integer overflow.) pub(crate) fn chooses(n: u64) -> Vec { todo!() } @@ -126,7 +126,7 @@ const FIBONACCI_MAT: Mat2 = Mat2 { /// The vector used for calculating Fibonacci numbers. const FIBONACCI_VEC: Vec2 = Vec2 { a: 1, b: 0 }; -/// Calculates the Fibonacci number. +/// Calculates the Fibonacci number. (We assume the absence of integer overflow.) /// /// Consult for matrix computation of Fibonacci numbers. pub(crate) fn fibonacci(n: u64) -> u64 {