summaryrefslogtreecommitdiff
path: root/Provide a slot by the caller.md
diff options
context:
space:
mode:
Diffstat (limited to 'Provide a slot by the caller.md')
-rw-r--r--Provide a slot by the caller.md1
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