From 6a6be73c5f826cb0eda802715931dd2b4a1f14aa Mon Sep 17 00:00:00 2001 From: ConnorSkees <39542938+ConnorSkees@users.noreply.github.com> Date: Fri, 26 Jun 2020 06:40:34 -0400 Subject: [PATCH] make doctests pass --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index d1e89f3..c8e7ed0 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -134,7 +134,7 @@ fn raw_to_parse_error(map: &CodeMap, err: Error) -> Box { /// Write CSS to `buf`, constructed from a path /// /// ``` -/// fn main() -> Result<(), grass::Error> { +/// fn main() -> Result<(), Box> { /// let sass = grass::from_path("input.scss")?; /// Ok(()) /// } @@ -179,7 +179,7 @@ pub fn from_path(p: &str) -> Result { /// Write CSS to `buf`, constructed from a string /// /// ``` -/// fn main() -> Result<(), grass::Error> { +/// fn main() -> Result<(), Box> { /// let sass = grass::from_string("a { b { color: &; } }".to_string())?; /// assert_eq!(sass, "a b {\n color: a b;\n}\n"); /// Ok(())