Skip to content

3.3 constants, it not clear #1655

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

Open
dlintw opened this issue Dec 19, 2022 · 2 comments
Open

3.3 constants, it not clear #1655

dlintw opened this issue Dec 19, 2022 · 2 comments

Comments

@dlintw
Copy link

dlintw commented Dec 19, 2022

In this example,
static LANGUAGE: &str = "Rust";
can change to
const LANGUAGE: &str = "Rust";

There is no difference shows. If so, why not just simplified to always use const

@marioidival
Copy link
Member

Hi, I'm closing this issue just to clean up the items that already exist. If you think this issue makes sense to stay open, please create a new issue with updated information and mention this one.

thanks!

@feefladder
Copy link

@marioidival friendly ping that this issue is still relevant :)

@marioidival marioidival reopened this Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants