Skip to content

Commit

Permalink
Fixed issue with doctest for stream_subscribe
Browse files Browse the repository at this point in the history
  • Loading branch information
danrspencer committed Feb 22, 2023
1 parent 5fbc15d commit 9ccde0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kube-runtime/src/utils/watch_ext.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ pub trait WatchStreamExt: Stream {
/// // Create a stream of descriptions of the events
/// let explain_stream = subscription.filter_map(|event| async move {
/// // We don't care about lagged events so we can throw that error away
/// match event.ok()?.as_deref() {
/// match event.ok()?.as_ref() {
/// Ok(watcher::Event::Applied(event)) => {
/// Some(format!("An object was added or modified: {event:?}"))
/// }
Expand Down

0 comments on commit 9ccde0c

Please sign in to comment.