1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2024-12-12 05:24:12 +02:00

Fix typo in rust.md

This commit is contained in:
Yauheni Baltukha 2023-01-14 01:45:36 +01:00
parent 74e2ba6acd
commit f118a78ef2

View File

@ -3,7 +3,7 @@
Memory management in Rust is a mix:
* Safe and correct like Java, but without a garbage collector.
* Depending on which abstraction (or combonation of abstractions) you choose, can be a single unique pointer, reference counted, or atomically reference counted.
* Depending on which abstraction (or combination of abstractions) you choose, can be a single unique pointer, reference counted, or atomically reference counted.
* Scope-based like C++, but the compiler enforces full adherence.
* A Rust user can choose the right abstraction for the situation, some even have no cost at runtime like C.