Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
TTWNO committed May 24, 2024
1 parent 2562501 commit 910d537
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 31 deletions.
33 changes: 4 additions & 29 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions cache/src/convertable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ pub trait Convertable<'a> {
fn to_application(
&self,
) -> impl Future<Output = Result<ApplicationProxy, Self::Error>> + Send;

/// Creates an [`CollectionProxy`] from the existing accessible item.
/// # Errors
///
Expand Down Expand Up @@ -98,7 +98,7 @@ async fn convert_to_new_type<
// otherwise, make a new Proxy with the related type.
let path = from.path().to_owned();
let dest = from.destination().to_owned();

ProxyBuilder::<T>::new(from.connection())
.interface(<T as ProxyDefault>::INTERFACE.ok_or(Error::InterfaceNotFound)?)?
.destination(dest)?
Expand Down

0 comments on commit 910d537

Please sign in to comment.