about summary refs log tree commit diff
path: root/tvix
diff options
context:
space:
mode:
Diffstat (limited to 'tvix')
-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 b82e8d515800..ddc1f0389f26 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,