istvan-fodor commented on code in PR #5666:
URL: https://github.com/apache/arrow-rs/pull/5666#discussion_r1574850757
##########
arrow-flight/examples/flight_sql_server.rs:
##########
@@ -190,14 +190,8 @@ impl FlightSqlService for FlightSqlServiceImpl {
let output = futures::stream::iter(vec![result]);
let token = format!("Bearer {}", FAKE_TOKEN);
- let mut response: Response<
- Pin<
- Box<
- dyn Stream<Item = std::result::Result<HandshakeResponse,
Status>>
- + std::marker::Send,
- >,
- >,
- > = Response::new(Box::pin(output));
+ let mut response: Response<Pin<Box<dyn Stream<Item = _> + Send>>> =
+ Response::new(Box::pin(output));
Review Comment:
@Jefffrey I added your suggested changes
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]