fix 1.77 clippy warning (multiple_bound_locations)
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
6022d20797
commit
d5bfef18a4
4 changed files with 10 additions and 10 deletions
|
@ -115,12 +115,12 @@ impl FedDest {
|
|||
}
|
||||
}
|
||||
|
||||
pub(crate) async fn send_request<T: OutgoingRequest>(
|
||||
pub(crate) async fn send_request<T>(
|
||||
destination: &ServerName,
|
||||
request: T,
|
||||
) -> Result<T::IncomingResponse>
|
||||
where
|
||||
T: Debug,
|
||||
T: OutgoingRequest + Debug,
|
||||
{
|
||||
if !services().globals.allow_federation() {
|
||||
return Err(Error::bad_config("Federation is disabled."));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue