Skip to content

Commit

Permalink
docs(rt): make purpose of Executor trait clearer (hyperium#3217)
Browse files Browse the repository at this point in the history
Make the purpose of `Executor` clearer by explaining why it is necessary.

Co-authored-by: Matt Andrews <mattandrews@massey.com.au>
  • Loading branch information
2 people authored and 0xE282B0 committed Jan 12, 2024
1 parent 2064211 commit 7216efe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rt/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ use std::{

/// An executor of futures.
///
/// This trait should be implemented for any future.
/// This trait allows Hyper to abstract over async runtimes. Implement this trait for your own type.
///
/// # Example
///
Expand Down

0 comments on commit 7216efe

Please sign in to comment.