Add benchmarks for the async path.

This commit is contained in:
Jordan Petridis
2018-01-19 13:15:21 +02:00
parent e6b0cfccb5
commit 44dbb06dcc
2 changed files with 37 additions and 1 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ pub struct Feed {
}
impl Feed {
/// Constructor that consumes a `Source` and a `rss::Channel` returns a `Feed` struct.
/// Constructor that consumes a `rss::Channel`, returns a `Feed` struct.
pub fn from_channel_source(channel: rss::Channel, source_id: i32) -> Feed {
Feed { channel, source_id }
}