Skip to content

Commit 467c53f

Browse files
authored
Merge pull request rust-lang#3541 from davidalber/fix-condition-typo
Fix condition typo
2 parents 8c94e2b + bfe5e9c commit 467c53f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/test/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -810,7 +810,7 @@ impl ConfigCodeBlock {
810810

811811
fn get_block_config(&self) -> Config {
812812
let mut config = Config::default();
813-
if self.config_value.is_some() && self.config_value.is_some() {
813+
if self.config_name.is_some() && self.config_value.is_some() {
814814
config.override_value(
815815
self.config_name.as_ref().unwrap(),
816816
self.config_value.as_ref().unwrap(),

0 commit comments

Comments
 (0)