mirror of
https://github.com/starovoid/rxing.git
synced 2026-09-27 02:15:09 +00:00
return a slice for RXingResultPoints
This commit is contained in:
@@ -16,7 +16,7 @@ impl DetectorRXingResult for DatamatrixDetectorResult {
|
||||
&self.0
|
||||
}
|
||||
|
||||
fn getPoints(&self) -> &Vec<RXingResultPoint> {
|
||||
fn getPoints(&self) -> &[RXingResultPoint] {
|
||||
&self.1
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user