From 5561e62823db393a922c3f78c1cf87cc0bb30dcc Mon Sep 17 00:00:00 2001 From: Josh Suereth Date: Thu, 4 Apr 2024 18:33:47 -0400 Subject: [PATCH] Fix spelling issues --- crates/weaver_diff/README.md | 2 +- crates/weaver_diff/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/weaver_diff/README.md b/crates/weaver_diff/README.md index c6eda56c..1ecbaa07 100644 --- a/crates/weaver_diff/README.md +++ b/crates/weaver_diff/README.md @@ -4,4 +4,4 @@ Status: **Work-In-Progress** This crate provides a minimal "diff" library with colored output. -It is designed to hide actual implementation details of diff and dependency selection from the rest of the weaver proejct. \ No newline at end of file +It is designed to hide actual implementation details of diff and dependency selection from the rest of the weaver project. \ No newline at end of file diff --git a/crates/weaver_diff/src/lib.rs b/crates/weaver_diff/src/lib.rs index 1c3ca310..dc30d824 100644 --- a/crates/weaver_diff/src/lib.rs +++ b/crates/weaver_diff/src/lib.rs @@ -8,7 +8,7 @@ const GREEN: &str = "\x1b[32m"; const RED: &str = "\x1b[31m"; const RESET: &str = "\x1b[0m"; -/// Constructs a "diff" string of the orignal vs. updated. +/// Constructs a "diff" string of the original vs. updated. /// Will create colorized (ANSI) output w/ `+` representing additions and `-` representing removals. pub fn diff_output(original: &str, updated: &str) -> String { let mut result = String::new();