Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Ben Boeckel
rust-git-workarea
Commits
afdc70cc
Commit
afdc70cc
authored
Oct 14, 2019
by
Ben Boeckel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rust: fix compilation on 1.32.0
`&self.some_string` apparently didn't `impl Into<String>` until then?
parent
9cd548bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/git.rs
src/git.rs
+2
-1
No files found.
src/git.rs
View file @
afdc70cc
...
...
@@ -151,7 +151,8 @@ impl Identity {
impl
Clone
for
Identity
{
fn
clone
(
&
self
)
->
Self
{
Self
::
new
(
&
self
.name
,
&
self
.email
)
// XXX(1.36.0): These can be `&self.<field>` in 1.36.0.
Self
::
new
(
self
.name
.clone
(),
self
.email
.clone
())
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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