Skip to content

Commit c0ca121

Browse files
committed
ignore dead code warning for from_entity on Image
1 parent caa809b commit c0ca121

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/processing_pyo3/src/graphics.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ pub struct Image {
6363
}
6464

6565
impl Image {
66+
#[expect(dead_code)] // it's only used by webcam atm
6667
pub(crate) fn from_entity(entity: Entity) -> Self {
6768
Self { entity }
6869
}

0 commit comments

Comments
 (0)