Skip to content

Commit

Permalink
Merge pull request rust-lang#3541 from davidalber/fix-condition-typo
Browse files Browse the repository at this point in the history
Fix condition typo
  • Loading branch information
scampi authored May 6, 2019
2 parents 8c94e2b + bfe5e9c commit 467c53f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -810,7 +810,7 @@ impl ConfigCodeBlock {

fn get_block_config(&self) -> Config {
let mut config = Config::default();
if self.config_value.is_some() && self.config_value.is_some() {
if self.config_name.is_some() && self.config_value.is_some() {
config.override_value(
self.config_name.as_ref().unwrap(),
self.config_value.as_ref().unwrap(),
Expand Down

0 comments on commit 467c53f

Please sign in to comment.