Skip to content

Commit

Permalink
fix missing borrow
Browse files Browse the repository at this point in the history
  • Loading branch information
eopb committed Nov 25, 2018
1 parent 07b97a4 commit 121e5e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/num/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4801,7 +4801,7 @@ impl ParseIntError {
for integer parsing",
issue = "22639")]
pub fn kind(&self) -> &IntErrorKind {
self.kind
&self.kind
}
#[unstable(feature = "int_error_internals",
reason = "available through Error trait and this method should \
Expand Down

0 comments on commit 121e5e8

Please sign in to comment.