From 7c553a30a9e3efcb917752b1d9019ab464aeccdc Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Fri, 19 Sep 2025 22:20:20 +0200 Subject: [PATCH] C API: Improve nix_get_attr_name_byidx() doc --- src/libexpr-c/nix_api_value.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libexpr-c/nix_api_value.h b/src/libexpr-c/nix_api_value.h index ddff494b7..2c4e35b66 100644 --- a/src/libexpr-c/nix_api_value.h +++ b/src/libexpr-c/nix_api_value.h @@ -302,7 +302,7 @@ nix_get_attr_byidx(nix_c_context * context, nix_value * value, EvalState * state /** @brief Get an attribute name by index in the sorted bindings * - * Useful when you want the name but want to avoid evaluation. + * Returns the attribute name without forcing evaluation of the attribute's value. * * Owned by the nix EvalState * @param[out] context Optional, stores error information