Skip to content
Snippets Groups Projects
Unverified Commit 4255eb38 authored by John DiSanti's avatar John DiSanti Committed by GitHub
Browse files

Remove unused generic from customizable ops (#1835)

parent eb6ffe35
Branches
Tags
No related merge requests found
......@@ -110,7 +110,7 @@ class CustomizableOperationGenerator(
}
/// Convenience for `map_request` where infallible direct mutation of request is acceptable
pub fn mutate_request<E>(self, f: impl FnOnce(&mut #{HttpRequest}<SdkBody>)) -> Self {
pub fn mutate_request(self, f: impl FnOnce(&mut #{HttpRequest}<SdkBody>)) -> Self {
self.map_request(|mut req| {
f(&mut req);
Result::<_, Infallible>::Ok(req)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment