Skip to content

Commit

Permalink
use core::convert::TryFrom instead of std::convert::TryFrom
Browse files Browse the repository at this point in the history
  • Loading branch information
Evanfeenstra committed Oct 29, 2023
1 parent 5d56c4a commit d6127b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lightning/src/ln/onion_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1008,7 +1008,7 @@ pub enum ReceivedPayment {
}
}

impl std::convert::TryFrom<msgs::InboundOnionPayload> for ReceivedPayment {
impl core::convert::TryFrom<msgs::InboundOnionPayload> for ReceivedPayment {
type Error = ();
fn try_from(pld: msgs::InboundOnionPayload) -> Result<Self, Self::Error> {
match pld {
Expand Down

0 comments on commit d6127b2

Please sign in to comment.