We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
env
Calls to the std::env functions that use string literals instead of a static strings can lead to bugs due to spelling errors.
std::env
There are 5 occurrences of this issue in the repository.
See all occurrences on DeepSource → deepsource.io/gh/luxtorpeda-dev/luxtorpeda/issue/RS-W1015/occurrences/
The text was updated successfully, but these errors were encountered:
Does static string here mean something like this: static STRING: &str = "STRING"; in the global scope?
static STRING: &str = "STRING";
Sorry, something went wrong.
@dfireBird Yes, their recommendation was to do as you suggest. You can see an example here: https://deepsource.io/gh/luxtorpeda-dev/luxtorpeda/issue/RS-W1015/description
Successfully merging a pull request may close this issue.
Description
Calls to the
std::env
functions that use string literals instead of a static strings can lead to bugs due to spelling errors.Occurrences
There are 5 occurrences of this issue in the repository.
See all occurrences on DeepSource → deepsource.io/gh/luxtorpeda-dev/luxtorpeda/issue/RS-W1015/occurrences/
The text was updated successfully, but these errors were encountered: