mirror of
https://github.com/starovoid/rxing.git
synced 2026-09-26 09:55:11 +00:00
return a slice for RXingResultPoints
This commit is contained in:
@@ -44,7 +44,7 @@ impl DetectorRXingResult for AztecDetectorRXingResult {
|
||||
&self.bits
|
||||
}
|
||||
|
||||
fn getPoints(&self) -> &Vec<RXingResultPoint> {
|
||||
fn getPoints(&self) -> &[RXingResultPoint] {
|
||||
&self.points
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user