hammond_data: Remove Source dependancy from Feed struct.

This commit is contained in:
Jordan Petridis
2018-01-13 06:08:51 +02:00
parent 1dd25f91fd
commit ee9cede921
6 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -139,7 +139,7 @@ mod tests {
let url = "http://www.newrustacean.com/feed.xml";
// Create and index a source
let source = Source::from_url(url).unwrap();
let mut source = Source::from_url(url).unwrap();
// Copy it's id
let sid = source.id().clone();
+1 -1
View File
@@ -81,7 +81,7 @@ mod tests {
let url = "http://www.newrustacean.com/feed.xml";
// Create and index a source
let source = Source::from_url(url).unwrap();
let mut source = Source::from_url(url).unwrap();
// Copy it's id
let sid = source.id().clone();