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 => {