diff options
Diffstat (limited to 'tvix/nix-compat')
-rw-r--r-- | tvix/nix-compat/src/derivation/parse_error.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tvix/nix-compat/src/derivation/parse_error.rs b/tvix/nix-compat/src/derivation/parse_error.rs index 34a9c9fd9204..26df13f5772b 100644 --- a/tvix/nix-compat/src/derivation/parse_error.rs +++ b/tvix/nix-compat/src/derivation/parse_error.rs @@ -70,8 +70,8 @@ impl<I> From<nom::error::Error<I>> for NomError<I> { } /// This essentially implements -/// From<nom::Err<nom::error::Error<I>>> for nom::Err<NomError<I>>, -/// which we can't because nom::Err<_> is a foreign type. +/// `From<nom::Err<nom::error::Error<I>>>` for `nom::Err<NomError<I>>`, +/// which we can't because `nom::Err<_>` is a foreign type. pub(crate) fn into_nomerror<I>(e: nom::Err<nom::error::Error<I>>) -> nom::Err<NomError<I>> { match e { nom::Err::Incomplete(n) => nom::Err::Incomplete(n), |