Skip to content

Commit e87ad74

Browse files
committed
update
1 parent ce636ac commit e87ad74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lambda-http/src/streaming.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ where
7777
/// Used internally by [`run_with_streaming_response`]; not part of the public
7878
/// API.
7979
#[allow(clippy::type_complexity)]
80-
fn into_streaming_response<'a, S, B, E>(
80+
fn into_stream_service<'a, S, B, E>(
8181
handler: S,
8282
) -> MapResponse<
8383
MapRequest<S, impl FnMut(LambdaEvent<LambdaRequest>) -> Request>,
@@ -143,7 +143,7 @@ where
143143
B::Data: Into<Bytes> + Send,
144144
B::Error: Into<Error> + Send + Debug,
145145
{
146-
lambda_runtime::run(into_streaming_response(handler)).await
146+
lambda_runtime::run(into_stream_service(handler)).await
147147
}
148148

149149
pin_project_lite::pin_project! {

0 commit comments

Comments
 (0)