aboutsummaryrefslogtreecommitdiff
path: root/docs/pages/best_practices.adoc
diff options
context:
space:
mode:
Diffstat (limited to 'docs/pages/best_practices.adoc')
-rw-r--r--docs/pages/best_practices.adoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/pages/best_practices.adoc b/docs/pages/best_practices.adoc
index bfcedec06..eabaa9eb9 100644
--- a/docs/pages/best_practices.adoc
+++ b/docs/pages/best_practices.adoc
@@ -35,7 +35,7 @@ After the processing, another 1024 byte buffer will be placed on the stack to be
35 35
36Pass the data by reference and not by value on both, the way in and the way out. 36Pass the data by reference and not by value on both, the way in and the way out.
37For example, you could return a slice of the input buffer as the output. 37For example, you could return a slice of the input buffer as the output.
38Requiring the lifetime of the input slice and the output slice to be the same, the memory safetly of this procedure will be enforced by the compiler. 38Requiring the lifetime of the input slice and the output slice to be the same, the memory safety of this procedure will be enforced by the compiler.
39 39
40[,rust] 40[,rust]
41---- 41----