Add Link::new()

This commit is contained in:
Matthias Beyer 2016-02-03 19:57:10 +01:00
parent ff3d5dd94b
commit 17daf7c387

View file

@ -7,6 +7,11 @@ pub struct Link {
}
impl Link {
pub fn new(s: String) -> Link {
Link { link: s }
}
}
pub struct Links {