Add Link::new()
This commit is contained in:
parent
ff3d5dd94b
commit
17daf7c387
1 changed files with 5 additions and 0 deletions
|
@ -7,6 +7,11 @@ pub struct Link {
|
|||
}
|
||||
|
||||
impl Link {
|
||||
|
||||
pub fn new(s: String) -> Link {
|
||||
Link { link: s }
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
pub struct Links {
|
||||
|
|
Loading…
Reference in a new issue