Skip to content

Commit

Permalink
change method visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
baoyachi committed Jul 22, 2024
1 parent 48ab3c7 commit 6d1aa0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ where
}

/// Returns the contents of [`std::env::vars`] as an ordered map.
pub fn get_std_env() -> BTreeMap<String, String> {
pub(crate) fn get_std_env() -> BTreeMap<String, String> {
let mut env_map = BTreeMap::new();
for (k, v) in std_env::vars() {
env_map.insert(k, v);
Expand All @@ -295,7 +295,7 @@ pub struct Shadow {
pub f: File,
/// The values of build constants to be written.
pub map: BTreeMap<ShadowConst, ConstVal>,
/// Build environment variables, obtained through [`get_std_env`].
/// Build environment variables, obtained through [`std::env::vars`].
pub std_env: BTreeMap<String, String>,
/// Constants in the denylist, passed through [`new_deny`] or [`Shadow::build`].
pub deny_const: BTreeSet<ShadowConst>,
Expand Down

0 comments on commit 6d1aa0f

Please sign in to comment.