about summary refs log tree commit diff
path: root/tvix/nix-compat/src
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-12-21T15·36+0200
committerclbot <clbot@tvl.fyi>2023-12-21T16·44+0000
commit12406fe241094deff775d77352d4ed79515686f6 (patch)
treee3c60376d41843d7ff75783cdad416845221ce64 /tvix/nix-compat/src
parentb04fdeaa1015953765ebd3a4c26186e3ac130eb7 (diff)
docs(nix-compat/derivation): fix docstring r/7250
Change-Id: I76200aa474b86cf655308f6710a2298b77fa4b38
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10404
Reviewed-by: edef <edef@edef.eu>
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/nix-compat/src')
-rw-r--r--tvix/nix-compat/src/derivation/parse_error.rs4
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),