Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
shigedangao committed Jul 21, 2023
1 parent 3447029 commit a0a709c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions node-binding/src/mapping/xyz.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pub enum XyzMapping {
REC2100,
SRgb,
Xyy,
Xyz
Xyz,
}

impl XyzMapping {
Expand All @@ -45,7 +45,7 @@ impl XyzMapping {
Self::REC2100 => Xyz::from(Rec2100::from_js_object(object)?),
Self::SRgb => Xyz::from(Srgb::from_js_object(object)?),
Self::Xyy => Xyz::from(Xyy::from_js_object(object)?),
Self::Xyz => Xyz::from_js_object(object)?
Self::Xyz => Xyz::from_js_object(object)?,
};

Ok(xyz)
Expand Down Expand Up @@ -73,7 +73,7 @@ impl XyzMapping {
Self::REC2100 => Rec2100::from(xyz).into_js_object(env),
Self::SRgb => Srgb::from(xyz).into_js_object(env),
Self::Xyy => Xyy::from(xyz).into_js_object(env),
Self::Xyz => xyz.into_js_object(env)
Self::Xyz => xyz.into_js_object(env),
}?;

Ok(res)
Expand Down

0 comments on commit a0a709c

Please sign in to comment.