Toggle navigation
Sign in
rust
/
artshop
·
Commits
GitLab
Go to group
Project
Activity
Files
Commits
Builds
0
Graphs
Milestones
Issues
4
Merge Requests
0
Labels
Wiki
Forks
Snippets
Network
Download as
Email Patches
Plain Diff
Browse Files
Commit
7dd7a064bea8084879fc30772d667093ca0b6720
Authored by
Georg Hopp
2022-01-13 16:44:37 +0100
1 parent
23975a43
Fix type in own Either
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
common/src/types.rs
common/src/types.rs
View file @
7dd7a06
...
...
@@ -3,7 +3,7 @@ use serde::{Deserialize, Serialize};
3
3
#[derive(Debug,
Clone,
Deserialize,
Serialize)]
4
4
pub
enum
Either
<
L
,
R
>
{
5
5
Left
(
L
),
6
-
R
e
ight
(
R
)
6
+
Right
(
R
)
7
7
}
8
8
9
9
#[derive(Clone,
Debug,
Serialize,
Deserialize)]
...
...
Please
register
or
login
to post a comment