update MapErrWithSpan to be pub(crate) trait

This commit is contained in:
@brody4hire - C. Jonathan Brody
2025-01-29 20:00:38 -05:00
committed by Connor Fitzgerald
parent a1185b21cc
commit 55c33b0372

View File

@@ -379,7 +379,7 @@ impl<T> SpanProvider<T> for UniqueArena<T> {
/// Convenience trait for [`Result`], adding a [`MapErrWithSpan::map_err_inner`]
/// mapping to [`WithSpan::and_then`].
pub trait MapErrWithSpan<E, E2>: Sized {
pub(crate) trait MapErrWithSpan<E, E2>: Sized {
/// The returned output type.
type Output: Sized;