Make Feed fields private.

This commit is contained in:
Jordan Petridis
2017-11-17 16:12:11 +02:00
parent 54a0f17588
commit 3d108d4a7a
3 changed files with 39 additions and 28 deletions
+1 -1
View File
@@ -339,6 +339,6 @@ impl<'a> Source {
req.read_to_string(&mut buf)?;
let chan = Channel::from_str(&buf)?;
Ok(Feed(chan, self))
Ok(Feed::new_from_channel_source(chan, self))
}
}