fix missing borrow

This commit is contained in:
Ethan Brierley 2018-11-25 19:44:09 +00:00
parent 07b97a486f
commit 121e5e806e

View File

@ -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 \