Skip to content

Commit 6865fe9

Browse files
kazuklaysakura
andauthored
Update src/lib.rs
Co-authored-by: Sho Nakatani <[email protected]>
1 parent 0e57599 commit 6865fe9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,8 @@ pub unsafe extern "C" fn spring_pop(
169169
let result = with_catch(|| pipe.pop(&queue));
170170
match result {
171171
Ok(row) => {
172-
let ptr = SpringRow::new(row);
173-
ptr.into_ptr()
172+
let row = SpringRow::new(row);
173+
row.into_ptr()
174174
}
175175
Err(_) => ptr::null_mut(),
176176
}

0 commit comments

Comments
 (0)