Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nia-e committed Mar 6, 2024
1 parent be0f4b8 commit 655ad0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lvgl-codegen/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ mod test {
define_object!(Arc);

impl<'a> Arc<'a> {
pub fn create(parent: &mut impl crate::NativeObject) -> crate::LvResult<Self> {
pub fn create(parent: &'a impl crate::NativeObject) -> crate::LvResult<Self> {
unsafe {
let ptr = lvgl_sys::lv_arc_create(
parent.raw().as_mut(),
Expand Down

0 comments on commit 655ad0c

Please sign in to comment.