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
Nicholas Bailey
rust-gitlab
Commits
d63e5b36
Commit
d63e5b36
authored
Oct 10, 2019
by
Ben Boeckel
⛰
Browse files
clippy: remove unnecessary From calls
parent
c44179a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/types.rs
View file @
d63e5b36
...
...
@@ -1224,8 +1224,8 @@ impl Milestone {
title
,
description
:
None
,
state
:
MilestoneState
::
Active
,
created_at
:
DateTime
::
from
(
Utc
::
now
()
)
,
updated_at
:
DateTime
::
from
(
Utc
::
now
()
)
,
created_at
:
Utc
::
now
(),
updated_at
:
Utc
::
now
(),
due_date
:
None
,
start_date
:
None
,
}
...
...
@@ -1469,8 +1469,8 @@ impl Issue {
title
,
description
:
None
,
state
:
IssueState
::
Opened
,
created_at
:
DateTime
::
from
(
Utc
::
now
()
)
,
updated_at
:
DateTime
::
from
(
Utc
::
now
()
)
,
created_at
:
Utc
::
now
(),
updated_at
:
Utc
::
now
(),
closed_at
:
None
,
closed_by
:
None
,
labels
:
Vec
::
new
(),
...
...
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