mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-10 16:45:51 +03:00
doc: rust: improve clarity of example snippet
Make it more clear that the return type is a string. Co-authored-by: figsoda <figsoda@pm.me>
This commit is contained in:
parent
4ecb3e8795
commit
4ab63a8ca8
@ -142,7 +142,7 @@ rustPlatform.buildRustPackage rec {
|
||||
version = "1.0.0";
|
||||
|
||||
cargoLock = let
|
||||
fixupLockFile = path: /* ... */;
|
||||
fixupLockFile = path: f (builtins.readFile path);
|
||||
in {
|
||||
lockFileContents = fixupLockFile ./Cargo.lock;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user