@@ -696,13 +696,13 @@ impl<HttpMiddleware, RpcMiddleware> Builder<HttpMiddleware, RpcMiddleware> {
696696 ///
697697 /// impl<S> RpcServiceT for MyMiddleware<S>
698698 /// where
699- /// S: RpcServiceT + Clone + Send + Sync + 'static,
699+ /// S: RpcServiceT + Clone + Send + Sync + 'static,
700700 /// {
701- /// type MethodResponse = S::MethodResponse;
702- /// type NotificationResponse = S::NotificationResponse;
703- /// type BatchResponse = S::BatchResponse;
701+ /// type MethodResponse = S::MethodResponse;
702+ /// type NotificationResponse = S::NotificationResponse;
703+ /// type BatchResponse = S::BatchResponse;
704704 ///
705- /// fn call<'a>(&self, req: Request<'a>) -> impl Future<Output = Self::MethodResponse> + Send + 'a {
705+ /// fn call<'a>(&self, req: Request<'a>) -> impl Future<Output = Self::MethodResponse> + Send + 'a {
706706 /// tracing::info!("MyMiddleware processed call {}", req.method);
707707 /// let count = self.count.clone();
708708 /// let service = self.service.clone();
@@ -713,15 +713,15 @@ impl<HttpMiddleware, RpcMiddleware> Builder<HttpMiddleware, RpcMiddleware> {
713713 /// count.fetch_add(1, Ordering::Relaxed);
714714 /// rp
715715 /// }
716- /// }
716+ /// }
717717 ///
718- /// fn batch<'a>(&self, batch: Batch<'a>) -> impl Future<Output = Self::BatchResponse> + Send + 'a {
718+ /// fn batch<'a>(&self, batch: Batch<'a>) -> impl Future<Output = Self::BatchResponse> + Send + 'a {
719719 /// self.service.batch(batch)
720- /// }
720+ /// }
721721 ///
722- /// fn notification<'a>(&self, notif: Notification<'a>) -> impl Future<Output = Self::NotificationResponse> + Send + 'a {
722+ /// fn notification<'a>(&self, notif: Notification<'a>) -> impl Future<Output = Self::NotificationResponse> + Send + 'a {
723723 /// self.service.notification(notif)
724- /// }
724+ /// }
725725 /// }
726726 ///
727727 /// // Create a state per connection
0 commit comments