Skip to content

docs: List default value for Environment::prefix_separator #660

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

Merged
merged 2 commits into from
May 21, 2025

Conversation

anoadragon453
Copy link
Contributor

List the default value for the Environment::prefix_separator property.

The default for prefix_separator is determined by:

config-rs/src/env.rs

Lines 230 to 234 in ad773ab

let prefix_separator = match (self.prefix_separator.as_deref(), self.separator.as_deref()) {
(Some(pre), _) => pre,
(None, Some(sep)) => sep,
(None, None) => "_",
};

List the default value for the `Environment::prefix_separator` property.
@anoadragon453 anoadragon453 requested a review from epage May 20, 2025 21:55
@coveralls
Copy link

Pull Request Test Coverage Report for Build 15148653414

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 65.295%

Totals Coverage Status
Change from base Build 14323491851: 0.0%
Covered Lines: 952
Relevant Lines: 1458

💛 - Coveralls

@epage epage merged commit 9984d8f into rust-cli:main May 21, 2025
14 of 15 checks passed
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

Successfully merging this pull request may close these issues.

3 participants