From c028fd443d5618fd48665e7c9a90ad456f4236c5 Mon Sep 17 00:00:00 2001 From: Martin Weissbach Date: Sun, 29 Jun 2025 08:13:04 +0200 Subject: [PATCH] fix parameter documentation of `encodeLocations` Signed-off-by: Martin Weissbach --- Sources/Polyline/Polyline.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Polyline/Polyline.swift b/Sources/Polyline/Polyline.swift index ea789b4..73ccb87 100644 --- a/Sources/Polyline/Polyline.swift +++ b/Sources/Polyline/Polyline.swift @@ -147,7 +147,7 @@ public func encodeCoordinates(_ coordinates: [LocationCoordinate2D], precision: #if canImport(CoreLocation) /// This function encodes an `[CLLocation]` to a `String` /// -/// - parameter coordinates: The `Array` of `CLLocation` that you want to encode +/// - parameter locations: The `Array` of `CLLocation` that you want to encode /// - parameter precision: The precision used to encode locations (default: `1e5`) /// /// - returns: A `String` representing the encoded Polyline