Fix tiny typos (#219)

This commit is contained in:
Dave Lucia 2023-10-17 22:42:12 -04:00 committed by GitHub
parent 91928b3486
commit 652d06bfce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@ defmodule OpentelemetryProcessPropagator do
""" """
@doc """ @doc """
Attempt to fetch an otel context from a give pid. Attempt to fetch an otel context from a given pid.
""" """
@spec fetch_ctx(pid) :: OpenTelemetry.Ctx.t() | :undefined @spec fetch_ctx(pid) :: OpenTelemetry.Ctx.t() | :undefined
defdelegate fetch_ctx(pid), to: :opentelemetry_process_propagator defdelegate fetch_ctx(pid), to: :opentelemetry_process_propagator
@ -97,7 +97,7 @@ defmodule OpentelemetryProcessPropagator do
@doc """ @doc """
Attempt to find an otel context in a spawning process within `n` number of parent Attempt to find an otel context in a spawning process within `n` number of parent
processes processes.
""" """
@spec fetch_parent_ctx(non_neg_integer()) :: OpenTelemetry.Ctx.t() | :undefined @spec fetch_parent_ctx(non_neg_integer()) :: OpenTelemetry.Ctx.t() | :undefined
defdelegate fetch_parent_ctx(depth), to: :opentelemetry_process_propagator defdelegate fetch_parent_ctx(depth), to: :opentelemetry_process_propagator