return a slice for RXingResultPoints

This commit is contained in:
Henry Schimke
2023-01-11 16:06:35 -06:00
parent fde23934f6
commit 7ddeb49064
7 changed files with 8 additions and 8 deletions

View File

@@ -44,7 +44,7 @@ impl DetectorRXingResult for AztecDetectorRXingResult {
&self.bits
}
fn getPoints(&self) -> &Vec<RXingResultPoint> {
fn getPoints(&self) -> &[RXingResultPoint] {
&self.points
}
}