1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-06-28 03:28:32 +02:00

Clarify what "it" is in rust.md (#855)

This commit is contained in:
Martin Geisler
2023-06-22 16:28:14 +02:00
committed by GitHub
parent d1d29283ba
commit eb6850a1d0

View File

@ -7,7 +7,7 @@ Memory management in Rust is a mix:
* Scope-based like C++, but the compiler enforces full adherence. * 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. * A Rust user can choose the right abstraction for the situation, some even have no cost at runtime like C.
It achieves this by modeling _ownership_ explicitly. Rust achieves this by modeling _ownership_ explicitly.
<details> <details>