Skip to content

Commit

Permalink
Fix missing rename and a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kamalmarhubi committed Jun 10, 2017
1 parent 63144fd commit 280917f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/docker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ pub fn run(target: &Target,
}

if let Some(toml) = toml {
for var in toml.env_whitelist(target)? {
for var in toml.env_passthrough(target)? {
if var.contains("=") {
bail!("environment variable names must not contain the '=' character");
}
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ impl Toml {
}

/// Returns the list of environment variables to pass through for `target`,
/// including variables sepcified under `build` and under `target`.
/// including variables specified under `build` and under `target`.
pub fn env_passthrough(&self, target: &Target) -> Result<Vec<&str>> {
let mut bwl = self.build_env_passthrough()?;
let mut twl = self.target_env_passthrough(target)?;
Expand Down

0 comments on commit 280917f

Please sign in to comment.