about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-12-21T15·20+0200
committerclbot <clbot@tvl.fyi>2023-12-21T16·39+0000
commit1c3ea9d83d2a6d502f4e910ac1498c5bb0ffc171 (patch)
tree05e6442533e0197cf7c3c5eabde5e54db507e682
parent8c83838c4022b54329fc31e6874c349ed1b58f30 (diff)
docs(nix-compat/drvfmt): fix reference r/7242
Change-Id: Ic0403e028cc968bef4023ef78dbfa0d502da90b0
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10396
Reviewed-by: edef <edef@edef.eu>
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
-rw-r--r--tvix/nix-compat/src/bin/drvfmt.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/tvix/nix-compat/src/bin/drvfmt.rs b/tvix/nix-compat/src/bin/drvfmt.rs
index b82e8d5158..ddc1f0389f 100644
--- a/tvix/nix-compat/src/bin/drvfmt.rs
+++ b/tvix/nix-compat/src/bin/drvfmt.rs
@@ -7,8 +7,9 @@ use serde_json::json;
 /// Some environment values can be non-valid UTF-8 strings.
 /// `serde_json` prints them out really unreadable.
 /// This is a tool to print A-Terms in a more readable fashion, so we brutally
-/// use [BString::to_string] to get a UTF-8 string (replacing invalid characters
-/// with the Unicode replacement codepoint).
+/// use the [std::string::ToString] implementation of [bstr::BString] to get
+/// a UTF-8 string (replacing invalid characters with the Unicode replacement
+/// codepoint).
 fn build_serde_json_value(drv: Derivation) -> serde_json::Value {
     json!({
         "args": drv.arguments,