Skip to content

Commit

Permalink
Try to fix docs CI (#1218)
Browse files Browse the repository at this point in the history
  • Loading branch information
cijothomas authored Aug 22, 2023
1 parent 2ba8f9f commit 495330f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions opentelemetry-sdk/src/runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ pub trait Runtime: Clone + Send + Sync + 'static {
/// not important.
type Delay: Future + Send + Unpin;

/// Create a [Stream][futures_util::stream::Stream], which returns a new item every
/// [Duration][std::time::Duration].
/// Create a [futures_util::stream::Stream], which returns a new item every
/// [std::time::Duration].
fn interval(&self, duration: Duration) -> Self::Interval;

/// Spawn a new task or thread, which executes the given future.
Expand All @@ -39,7 +39,7 @@ pub trait Runtime: Clone + Send + Sync + 'static {
/// the given future even if the main thread is blocked.
fn spawn(&self, future: BoxFuture<'static, ()>);

/// Return a new future, which resolves after the specified [Duration][std::time::Duration].
/// Return a new future, which resolves after the specified [std::time::Duration].
fn delay(&self, duration: Duration) -> Self::Delay;
}

Expand Down

0 comments on commit 495330f

Please sign in to comment.