From 4c22996e11c32c3486af907a2947c508785dbb33 Mon Sep 17 00:00:00 2001 From: Avinash Sonawane Date: Mon, 31 May 2021 07:20:39 +0000 Subject: [PATCH] Fix typos (#1505) --- components/config/src/config/mod.rs | 2 +- components/site/src/link_checking.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/config/src/config/mod.rs b/components/config/src/config/mod.rs index 84893f0e..b1cad9b1 100644 --- a/components/config/src/config/mod.rs +++ b/components/config/src/config/mod.rs @@ -477,7 +477,7 @@ truc = "default" assert_eq!(extra["hello"].as_str().unwrap(), "world".to_string()); assert_eq!(extra["a_value"].as_integer().unwrap(), 10); assert_eq!(extra["sub"]["foo"].as_str().unwrap(), "bar".to_string()); - assert_eq!(extra["sub"].get("truc").expect("The whole extra.sub table was overriden by theme data, discarding extra.sub.truc").as_str().unwrap(), "default".to_string()); + assert_eq!(extra["sub"].get("truc").expect("The whole extra.sub table was overridden by theme data, discarding extra.sub.truc").as_str().unwrap(), "default".to_string()); assert_eq!(extra["sub"]["sub"]["foo"].as_str().unwrap(), "bar".to_string()); assert_eq!( extra["sub"]["sub"] diff --git a/components/site/src/link_checking.rs b/components/site/src/link_checking.rs index 4774afa2..ddf8207c 100644 --- a/components/site/src/link_checking.rs +++ b/components/site/src/link_checking.rs @@ -82,7 +82,7 @@ pub fn check_internal_links_with_anchors(site: &Site) -> Result<()> { // Finally emit a summary, and return overall anchors-checking result. match errors.len() { 0 => { - println!("> Succesfully checked {} internal link(s) with anchors.", anchors_total); + println!("> Successfully checked {} internal link(s) with anchors.", anchors_total); Ok(()) } errors_total => {