You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It says not initializing a variable when it's declared may lead to use of uninitialized variables, but the sentence after the example says the compiler forbids the use of an uninitialized variable. If the compiler forbids using uninitialized variables, it's not possible to use an uninitialized variable.
The part saying this form is seldom used because it could lead to the use of uninitialized variables should be removed, since it's not possible in Rust.
The text was updated successfully, but these errors were encountered:
It says not initializing a variable when it's declared may lead to use of uninitialized variables, but the sentence after the example says the compiler forbids the use of an uninitialized variable. If the compiler forbids using uninitialized variables, it's not possible to use an uninitialized variable.
The part saying this form is seldom used because it could lead to the use of uninitialized variables should be removed, since it's not possible in Rust.
The text was updated successfully, but these errors were encountered: