Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
theashraf committed Dec 13, 2024
1 parent c4a3891 commit ad237de
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dotlottie-rs/src/lottie_renderer/thorvg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -225,9 +225,9 @@ impl Animation for TvgAnimation {
let mimetype_cstr = CString::new(mimetype).unwrap();
let data_cstr = CString::new(data).unwrap();

let data_ptr: *const i8 = data_cstr.as_ptr() as *const i8;
let data_len: u32 = data.as_bytes().len() as u32;
let mimetype_ptr: *const i8 = mimetype_cstr.as_ptr() as *const i8;
let data_ptr: *const i8 = data_cstr.as_ptr();
let data_len = data.as_bytes().len() as u32;
let mimetype_ptr: *const i8 = mimetype_cstr.as_ptr();

unsafe {
#[cfg(feature = "thorvg-v1")]
Expand Down

0 comments on commit ad237de

Please sign in to comment.