From b6168f50a185ad28fed24e02507fb629a3ed6820 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sun, 7 Feb 2016 16:24:21 +0100 Subject: [PATCH] Implement: Links::new() --- libimaglink/src/link.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libimaglink/src/link.rs b/libimaglink/src/link.rs index bc309d08..b8f18b1f 100644 --- a/libimaglink/src/link.rs +++ b/libimaglink/src/link.rs @@ -19,6 +19,11 @@ pub struct Links { } impl Links { + + pub fn new(s: Vec) -> Links { + Links { links: s } + } + } impl Into for Link {