Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
sanxiyn authored and mbrubeck committed Apr 6, 2018
1 parent 83296b3 commit 8f4b4b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/style.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ impl<'a> StyledNode<'a> {
}

/// Return the specified value of property `name`, or property `fallback_name` if that doesn't
/// exist. or value `default` if neither does.
/// exist, or value `default` if neither does.
pub fn lookup(&self, name: &str, fallback_name: &str, default: &Value) -> Value {
self.value(name).unwrap_or_else(|| self.value(fallback_name)
.unwrap_or_else(|| default.clone()))
Expand Down

0 comments on commit 8f4b4b2

Please sign in to comment.