[−][src]Function bloguen::ops::feed_atom_footer
pub fn feed_atom_footer<W, E>(
into: &mut W,
out_name_err: E
) -> Result<Cow<'static, str>, Error> where
W: Write,
E: Into<Cow<'static, str>>,
Output the footer for an Atom feed,
Examples
let mut out = vec![]; let res = feed_atom_footer(&mut out, "test blog"); assert_eq!(res, Ok("test blog".into())); let out = str::from_utf8(&out).unwrap(); assert_eq!(out, r###"</feed> "###);