Skip to content

Commit 4269128

Browse files
committed
Rm unused error From conversion
From impls are part of the public API. Since this is unused, let's remove it so it doesn't need to be maintained.
1 parent 6a37d27 commit 4269128

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

payjoin/src/receive/v2/error.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,6 @@ pub(crate) enum InternalSessionError {
3737
UnexpectedStatusCode(http::StatusCode),
3838
}
3939

40-
impl From<crate::into_url::Error> for SessionError {
41-
fn from(e: crate::into_url::Error) -> Self { InternalSessionError::ParseUrl(e).into() }
42-
}
43-
4440
impl From<OhttpEncapsulationError> for Error {
4541
fn from(e: OhttpEncapsulationError) -> Self {
4642
InternalSessionError::OhttpEncapsulation(e).into()

0 commit comments

Comments
 (0)