Skip to content

Commit 0f16ea5

Browse files
authored
docs: Replace ready_and() with ready() in docs (#611)
1 parent 80c6e38 commit 0f16ea5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tower/src/util/service_fn.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ use tower_service::Service;
3333
/// let mut service = service_fn(handle);
3434
///
3535
/// let response = service
36-
/// .ready_and()
36+
/// .ready()
3737
/// .await?
3838
/// .call(Request::new())
3939
/// .await?;

0 commit comments

Comments
 (0)