[−][src]Function dishub::ops::unfollow_feeds::print_feeds
pub fn print_feeds<W: Write>(feeds: &[Feed], output: &mut W)
Print the subscribed-to feeds in a human-readable format.
Examples
let mut out = Vec::new(); unfollow_feeds::print_feeds(&[Feed::new("nabijaczleweli".to_string(), 0, 0), Feed::new("nabijaczleweli/dishub".to_string(), 0, 1)], &mut out); assert_eq!(&out[..], &b"The feeds currently subscribed to:\n\ \x20\x20nabijaczleweli\n\ \x20\x20nabijaczleweli/dishub\n\ \n"[..]);