diff options
Diffstat (limited to 'Pointer safety principle.md')
-rw-r--r-- | Pointer safety principle.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Pointer safety principle.md b/Pointer safety principle.md new file mode 100644 index 0000000..45c0f5c --- /dev/null +++ b/Pointer safety principle.md @@ -0,0 +1,3 @@ +Data should never be aliased and mutated at the same time. + +Boxes are not allowed to be aliased. References are meant to be aliased: the pointer safety principle is ensured via the borrow checker.
\ No newline at end of file |