Skip to content

Commit

Permalink
docs: improve
Browse files Browse the repository at this point in the history
  • Loading branch information
fundon committed Dec 16, 2023
1 parent 3b5596b commit 8dde0de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion viz-core/src/handler/fn_ext.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,5 @@ pub trait FnExt<E>: Clone + Send + Sync + 'static {
type Output;

/// Performs the call operation.
#[must_use]
async fn call(&self, req: Request) -> Self::Output;
}
3 changes: 2 additions & 1 deletion viz-core/src/handler/transform.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ pub trait Transform<H> {
/// A new handler.
type Output;

/// Transforms `self` and wraps [Handler][super::Handler] to a new handler.
/// Transforms `self` and wraps [`Handler`][super::Handler] to a new handler.
#[must_use]
fn transform(&self, h: H) -> Self::Output;
}

0 comments on commit 8dde0de

Please sign in to comment.