mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-27 04:42:35 +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