Skip to content

Commit 320b2f5

Browse files
committed
Fix typo in documentation
1 parent 7f654f7 commit 320b2f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tower-util/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ pub trait ServiceExt<Request>: tower_service::Service<Request> {
222222
///
223223
/// async {
224224
/// let id = "13";
225-
/// let code = new_service.call(id).await.unwrap_err();
225+
/// let response = new_service.call(id).await;
226226
/// };
227227
/// }
228228
/// ```

0 commit comments

Comments
 (0)