diff options
author | Jasper Ras <jras@hostnet.nl> | 2025-08-08 22:44:15 +0200 |
---|---|---|
committer | Jasper Ras <jras@hostnet.nl> | 2025-08-08 22:44:15 +0200 |
commit | 22675cd8dc75d8b8d4b0f818f5b093efbc364802 (patch) | |
tree | 90156d37dccf13f012d535e7d92273259e3d5c17 /Provide a slot by the caller.md | |
parent | 295b343aecf330e830d79f06e0efc511e7d76da1 (diff) |
Diffstat (limited to 'Provide a slot by the caller.md')
-rw-r--r-- | Provide a slot by the caller.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Provide a slot by the caller.md b/Provide a slot by the caller.md new file mode 100644 index 0000000..14ff371 --- /dev/null +++ b/Provide a slot by the caller.md @@ -0,0 +1 @@ +Have a function take a mutable reference as a parameter: The "Slot" so the caller can be responsible for allocating and regaining ownership after the function returns.
\ No newline at end of file |