mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-20 13:24:44 +00:00
Update Rust Edition to 2024 (#7766)
* #7749 Thanks @dknopik and @michaelsproul for your help!
This commit is contained in:
@@ -1030,7 +1030,7 @@ impl RPCError {
|
||||
/// Used for metrics.
|
||||
pub fn as_static_str(&self) -> &'static str {
|
||||
match self {
|
||||
RPCError::ErrorResponse(ref code, ..) => code.into(),
|
||||
RPCError::ErrorResponse(code, ..) => code.into(),
|
||||
e => e.into(),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user