Skip to content

Commit 21e01e9

Browse files
authored
docs: Resolve document warning (#841)
* docs: Remove empty code block * docs: Resolve unresolved document link
1 parent d1b55be commit 21e01e9

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

tower/src/util/boxed_clone_sync.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ use tower_service::Service;
1414
///
1515
/// This is similar to [`BoxCloneService`](super::BoxCloneService) except the resulting
1616
/// service implements [`Sync`].
17-
/// ```
1817
pub struct BoxCloneSyncService<T, U, E>(
1918
Box<
2019
dyn CloneService<T, Response = U, Error = E, Future = BoxFuture<'static, Result<U, E>>>

tower/src/util/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ pub trait ServiceExt<Request>: tower_service::Service<Request> {
329329
/// may be used to implement error recovery, by turning some [`Err`]
330330
/// responses from the service into [`Ok`] responses. Similarly, some
331331
/// successful responses from the service could be rejected, by returning an
332-
/// [`Err`] conditionally, depending on the value inside the [`Ok`.] Finally,
332+
/// [`Err`] conditionally, depending on the value inside the [`Ok`]. Finally,
333333
/// this method can also be used to implement behaviors that must run when a
334334
/// service's future completes, regardless of whether it succeeded or failed.
335335
///

0 commit comments

Comments
 (0)