diff --git a/xtask/src/docs.rs b/xtask/src/docs.rs index 0fb13d354..2e8abc965 100644 --- a/xtask/src/docs.rs +++ b/xtask/src/docs.rs @@ -67,10 +67,10 @@ pub fn docs(metadata: Metadata) -> Result<()> { fs::write( site.join("robots.txt"), - indoc! {r#" + indoc! {r" User-Agent:* Disallow: / - "#}, + "}, ) .context("can't write robots.txt")?;