diff options
| author | Ethan Brierley <ethanboxx@gmail.com> | 2018-11-25 19:44:09 +0000 |
|---|---|---|
| committer | Ethan Brierley <ethanboxx@gmail.com> | 2018-11-25 19:44:09 +0000 |
| commit | 121e5e806e41c4825fc4a25ad45d2585d1058165 (patch) | |
| tree | 4b5ea3d82aa9e0b36e99eb863c7f7b0add6b340d | |
| parent | 07b97a486f3580f9b50404a4199271f70b4a63fb (diff) | |
| download | rust-121e5e806e41c4825fc4a25ad45d2585d1058165.tar.gz rust-121e5e806e41c4825fc4a25ad45d2585d1058165.zip | |
fix missing borrow
| -rw-r--r-- | src/libcore/num/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/num/mod.rs b/src/libcore/num/mod.rs index 56ccea19b8a..eb8a51b18a5 100644 --- a/src/libcore/num/mod.rs +++ b/src/libcore/num/mod.rs @@ -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 \ |
