Skip to content

Commit 6321eea

Browse files
authored
Merge pull request #2 from catilac/deadcode_warning
ignore dead code warning for `from_entity` on Image
2 parents caa809b + c0ca121 commit 6321eea

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)