From 8f1b5a7890c2aa87392792eaaddb659fe6773f36 Mon Sep 17 00:00:00 2001 From: Janggun Lee Date: Mon, 21 Oct 2024 16:25:32 +0900 Subject: [PATCH] Fix typos Closes #411 --- src/assignments/assignment09/bigint.rs | 2 +- src/assignments/assignment09/small_exercises.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/assignments/assignment09/bigint.rs b/src/assignments/assignment09/bigint.rs index 4df36fa..95f2e2c 100644 --- a/src/assignments/assignment09/bigint.rs +++ b/src/assignments/assignment09/bigint.rs @@ -25,7 +25,7 @@ use std::ops::*; /// /// The `sign_extension()`, `two_complement()`, and `truncate()` are non-mandatory helper methods. /// -/// For testing and debugging pruposes, the `Display` trait is implemented for you, which shows the +/// For testing and debugging purposes, the `Display` trait is implemented for you, which shows the /// integer in hexadecimal form. #[derive(Debug, Clone)] pub struct BigInt { diff --git a/src/assignments/assignment09/small_exercises.rs b/src/assignments/assignment09/small_exercises.rs index f0af504..9ff2123 100644 --- a/src/assignments/assignment09/small_exercises.rs +++ b/src/assignments/assignment09/small_exercises.rs @@ -9,7 +9,7 @@ use itertools::Itertools; /// /// Returns `true` if the length of sequence is less or equal than 2. /// -/// # Exmample +/// # Example /// /// ``` /// use cs220::assignments::assignment09::small_exercises::*;