Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jocelyn Falempe
rust-gitlab
Commits
5469622a
Commit
5469622a
authored
Dec 07, 2016
by
Ben Boeckel
⛰
Browse files
gitlab: remove Deserialize restriction
We actually abuse it and use it for Request later.
parent
8f5f452c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/gitlab.rs
View file @
5469622a
...
...
@@ -42,7 +42,7 @@ impl Debug for Gitlab {
header!
{
(
GitlabPrivateToken
,
"PRIVATE-TOKEN"
)
=>
[
String
]
}
/// A JSON value return from Gitlab.
pub
type
GitlabResult
<
T
:
Deserialize
>
=
Result
<
T
,
Error
>
;
pub
type
GitlabResult
<
T
>
=
Result
<
T
,
Error
>
;
#[derive(Debug)]
/// Optional information for commit statuses.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment