diff options
Diffstat (limited to 'docs/pages/best_practices.adoc')
| -rw-r--r-- | docs/pages/best_practices.adoc | 2 |
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 | ||
| 36 | Pass the data by reference and not by value on both, the way in and the way out. | 36 | Pass the data by reference and not by value on both, the way in and the way out. |
| 37 | For example, you could return a slice of the input buffer as the output. | 37 | For example, you could return a slice of the input buffer as the output. |
| 38 | Requiring 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. | 38 | Requiring 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 | ---- |
