Skip to content

Commit 121e5e8

Browse files
committed
fix missing borrow
1 parent 07b97a4 commit 121e5e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/num/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4801,7 +4801,7 @@ impl ParseIntError {
48014801
for integer parsing",
48024802
issue = "22639")]
48034803
pub fn kind(&self) -> &IntErrorKind {
4804-
self.kind
4804+
&self.kind
48054805
}
48064806
#[unstable(feature = "int_error_internals",
48074807
reason = "available through Error trait and this method should \

0 commit comments

Comments
 (0)