Edit docs again!
Exclamation marks!
This commit is contained in:
parent
30a8dccfb0
commit
af60d7c3ec
1 changed files with 4 additions and 5 deletions
|
@ -35,8 +35,6 @@
|
||||||
//!
|
//!
|
||||||
//! # Syntax
|
//! # Syntax
|
||||||
//!
|
//!
|
||||||
//! Maud uses its own syntax, loosely inspired by HTML and Rust.
|
|
||||||
//!
|
|
||||||
//! **Note:** The markup you see below has been cleaned up a bit. In
|
//! **Note:** The markup you see below has been cleaned up a bit. In
|
||||||
//! reality, Maud doesn't add extra whitespace to the HTML it generates.
|
//! reality, Maud doesn't add extra whitespace to the HTML it generates.
|
||||||
//!
|
//!
|
||||||
|
@ -60,7 +58,8 @@
|
||||||
//! double quotes, and use a backslash for escapes.
|
//! double quotes, and use a backslash for escapes.
|
||||||
//!
|
//!
|
||||||
//! By default, HTML special characters are escaped automatically. Add a
|
//! By default, HTML special characters are escaped automatically. Add a
|
||||||
//! `$$` prefix to disable this escaping.
|
//! `$$` prefix to disable this escaping. (This is a special case of the
|
||||||
|
//! *splice* syntax described below.)
|
||||||
//!
|
//!
|
||||||
//! ## Elements
|
//! ## Elements
|
||||||
//!
|
//!
|
||||||
|
@ -186,8 +185,8 @@ impl<'a> Markup<'a> {
|
||||||
|
|
||||||
/// Render the markup to a `std::io::Writer`.
|
/// Render the markup to a `std::io::Writer`.
|
||||||
///
|
///
|
||||||
/// If you're writing to, say, a file or a socket, this may be more
|
/// This may be more efficient than calling `.render()`, as it
|
||||||
/// efficient than calling `.render()`.
|
/// doesn't allocate an intermediate `String`.
|
||||||
pub fn render_to(&self, w: &mut Writer) -> IoResult<()> {
|
pub fn render_to(&self, w: &mut Writer) -> IoResult<()> {
|
||||||
struct WriterWrapper<'a, 'b: 'a> {
|
struct WriterWrapper<'a, 'b: 'a> {
|
||||||
inner: &'a mut (Writer + 'b),
|
inner: &'a mut (Writer + 'b),
|
||||||
|
|
Loading…
Add table
Reference in a new issue