Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translated Chapter 8 of the Rust tour in Romanian 🇷🇴 #9

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

AnneOnciulescu
Copy link

No description provided.

Există două tipuri de pointeri bruți:


* `*const T` - Un pointer brut la date de tip T care nu trebuie să se modifice niciodată.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nu trebuie sau nu pot sa se modifice?

Există două tipuri de pointeri bruți:


* `*const T` - Un pointer brut la date de tip T care nu trebuie să se modifice niciodată.
Copy link

@alexandruradovici alexandruradovici Jan 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Trebuie scris clar ca este vorba de valoarea lui T care nu se poate modifica, pentru a nu se confunda cu let mut p: *const T unde p = &v1 si p = &v2 sunt valabile, dar unsafe { *p = v; } nu este permis.

Pointerii bruți pot fi convertiți în și din numere (exemplu: `usize`).


Pointerii bruți pot accesa date cu cod *nesigur* (mai multe despre acest lucru mai târziu).

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Explicat de ce, si anume ca adresa este de fapt un numar, insa referinta &T nu este doar un numar.

@alexandruradovici alexandruradovici changed the title Translated Chapter 8 of the Rust tour in Romanian Translated Chapter 8 of the Rust tour in Romanian 🇷🇴 Jan 27, 2023
@alexandruradovici
Copy link

@AnneOnciulescu any updates here?

lessons/ro/chapter_8.yaml Outdated Show resolved Hide resolved
lessons/ro/chapter_8.yaml Outdated Show resolved Hide resolved
lessons/ro/chapter_8.yaml Outdated Show resolved Hide resolved
lessons/ro/chapter_8.yaml Outdated Show resolved Hide resolved
lessons/ro/chapter_8.yaml Outdated Show resolved Hide resolved
lessons/ro/chapter_8.yaml Outdated Show resolved Hide resolved
lessons/ro/chapter_8.yaml Outdated Show resolved Hide resolved
lessons/ro/chapter_8.yaml Outdated Show resolved Hide resolved
lessons/ro/chapter_8.yaml Outdated Show resolved Hide resolved
AnneOnciulescu and others added 9 commits January 14, 2024 23:07
Co-authored-by: Gheta Andrei-Cristian <95760823+andreigheta@users.noreply.github.com>
Co-authored-by: Gheta Andrei-Cristian <95760823+andreigheta@users.noreply.github.com>
Co-authored-by: Gheta Andrei-Cristian <95760823+andreigheta@users.noreply.github.com>
Co-authored-by: Gheta Andrei-Cristian <95760823+andreigheta@users.noreply.github.com>
Co-authored-by: Gheta Andrei-Cristian <95760823+andreigheta@users.noreply.github.com>
Co-authored-by: Gheta Andrei-Cristian <95760823+andreigheta@users.noreply.github.com>
Co-authored-by: Gheta Andrei-Cristian <95760823+andreigheta@users.noreply.github.com>
Co-authored-by: Gheta Andrei-Cristian <95760823+andreigheta@users.noreply.github.com>
Co-authored-by: Gheta Andrei-Cristian <95760823+andreigheta@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Review
Development

Successfully merging this pull request may close these issues.

4 participants