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
According to the text in src/ch19-01-unsafe-rust.md, "we must annotate the variable’s type, which is &'static str", but the example shown in listings/ch19-advanced-features/listing-19-09/src/main.rs is:
According to the text in src/ch19-01-unsafe-rust.md, "we must annotate the variable’s type, which is
&'static str
", but the example shown in listings/ch19-advanced-features/listing-19-09/src/main.rs is:which does not declare
HELLO_WORLD
as&'static str
. This could be confusing to other newbies (besides myself :-) ).The text was updated successfully, but these errors were encountered: