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