You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
381 B
Rust
20 lines
381 B
Rust
3 years ago
|
#[derive(Debug)]
|
||
|
pub struct Sorted {
|
||
|
#[allow(dead_code)]
|
||
|
repo: Vec<String>,
|
||
|
#[allow(dead_code)]
|
||
|
aur: Vec<String>,
|
||
|
#[allow(dead_code)]
|
||
|
nf: Vec<String>
|
||
|
}
|
||
|
|
||
|
impl Sorted {
|
||
|
pub fn new(repo: Vec<String>, aur: Vec<String>, nf: Vec<String>) -> Self {
|
||
|
let a: Sorted = Sorted {
|
||
|
repo,
|
||
|
aur,
|
||
|
nf
|
||
|
};
|
||
|
a
|
||
|
}
|
||
|
}
|