tangled
alpha
login
or
join now
tgirl.cloud
/
lix-diff
0
fork
atom
this repo has no description
0
fork
atom
overview
issues
pulls
pipelines
refactor: clone free again
isabelroses.com
10 months ago
7d9ae9fc
cf7f6d52
+3
-3
1 changed file
expand all
collapse all
unified
split
src
versioning.rs
+3
-3
src/versioning.rs
···
1
1
use nu_ansi_term::Color::{Green, Red, Yellow};
2
2
use std::{cmp::Ordering, fmt::Display};
3
3
4
4
-
#[derive(Debug, Clone)]
4
4
+
#[derive(Debug)]
5
5
pub struct VersionComponent(String, Ordering);
6
6
7
7
-
#[derive(Debug, Clone)]
7
7
+
#[derive(Debug)]
8
8
pub struct Version(Vec<VersionComponent>);
9
9
10
10
-
#[derive(Debug, Clone)]
10
10
+
#[derive(Debug)]
11
11
pub struct VersionList(pub Vec<Version>);
12
12
13
13
impl VersionComponent {