fix missing borrow
This commit is contained in:
@@ -4801,7 +4801,7 @@ impl ParseIntError {
|
|||||||
for integer parsing",
|
for integer parsing",
|
||||||
issue = "22639")]
|
issue = "22639")]
|
||||||
pub fn kind(&self) -> &IntErrorKind {
|
pub fn kind(&self) -> &IntErrorKind {
|
||||||
self.kind
|
&self.kind
|
||||||
}
|
}
|
||||||
#[unstable(feature = "int_error_internals",
|
#[unstable(feature = "int_error_internals",
|
||||||
reason = "available through Error trait and this method should \
|
reason = "available through Error trait and this method should \
|
||||||
|
|||||||
Reference in New Issue
Block a user