Make Escaper doctest not-ignored ()

This commit is contained in:
Chris Wong 2021-11-21 19:57:26 +11:00 committed by GitHub
parent 12cec48134
commit f6bbece1c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,7 +34,8 @@ mod escape;
/// ///
/// # Example /// # Example
/// ///
/// ```rust,ignore /// ```rust
/// use maud::Escaper;
/// use std::fmt::Write; /// use std::fmt::Write;
/// let mut s = String::new(); /// let mut s = String::new();
/// write!(Escaper::new(&mut s), "<script>launchMissiles()</script>").unwrap(); /// write!(Escaper::new(&mut s), "<script>launchMissiles()</script>").unwrap();