Skip to content

Commit

Permalink
Merge pull request #283 from iRevive/docs-update
Browse files Browse the repository at this point in the history
Minor docs improvements
  • Loading branch information
iRevive authored Jul 24, 2023
2 parents 55e820b + e0dee18 commit 5e0c270
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import cats.~>

trait SpanOps[F[_]] {

/** Creates a [[Span]]. The span requires to be ended ''explicitly'' by
/** Creates a [[Span]]. The span requires to be ended '''explicitly''' by
* invoking `end`.
*
* This strategy can be used when it's necessary to end a span outside of the
Expand Down Expand Up @@ -76,10 +76,10 @@ trait SpanOps[F[_]] {
* .build
* .resource
* .use { res =>
* // `res.include` encloses its contents within the "resource-span"
* // `res.trace` encloses its contents within the "resource-span"
* // span; anything not applied to `res.include` will not end up in
* // the span
* res.include(res.span.setStatus(Status.Ok, "all good"))
* res.trace(res.span.setStatus(Status.Ok, "all good"))
* }
* }}}
*/
Expand Down

0 comments on commit 5e0c270

Please sign in to comment.