Skip to content

Commit

Permalink
rename parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuTricoire committed Oct 13, 2022
1 parent 891c3d3 commit 45d8abb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fluent-bundle/src/types/mod.rs
Expand Up @@ -211,8 +211,8 @@ impl<'source, T> From<Option<T>> for FluentValue<'source>
where
T: Into<FluentValue<'source>>,
{
fn from(s: Option<T>) -> Self {
match s {
fn from(v: Option<T>) -> Self {
match v {
Some(v) => v.into(),
None => FluentValue::None,
}
Expand Down

0 comments on commit 45d8abb

Please sign in to comment.