Implement: Links::new()

This commit is contained in:
Matthias Beyer 2016-02-07 16:24:21 +01:00
parent e4fae4cfcf
commit b6168f50a1

View file

@ -19,6 +19,11 @@ pub struct Links {
}
impl Links {
pub fn new(s: Vec<Link>) -> Links {
Links { links: s }
}
}
impl Into<String> for Link {