Skip to content

Commit a2599e7

Browse files
[gardening] improve markdown formatting in documentation comments
1 parent 7af2091 commit a2599e7

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

Sources/PackageDescription/Version+StringLiteralConvertible.swift

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,8 @@
99
*/
1010

1111
extension Version: ExpressibleByStringLiteral {
12-
1312
/// Initializes a version struct with the provided string literal.
14-
///
15-
/// - Parameters:
16-
/// - version: A string literal to use for creating a new version struct.
13+
/// - Parameter version: A string literal to use for creating a new version struct.
1714
public init(stringLiteral value: String) {
1815
if let version = Version(value) {
1916
self = version

Sources/PackageDescription/Version.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ public struct Version {
5555
/// Initializes a version struct with the provided components of a semantic version.
5656
///
5757
/// - Parameters:
58-
/// - major: The major version number.
59-
/// - minor: The minor version number.
60-
/// - patch: The patch version number.
61-
/// - prereleaseIdentifiers: The pre-release identifier.
62-
/// - buildMetaDataIdentifiers: Build metadata that identifies a build.
58+
/// - major: The major version number.
59+
/// - minor: The minor version number.
60+
/// - patch: The patch version number.
61+
/// - prereleaseIdentifiers: The pre-release identifier.
62+
/// - buildMetaDataIdentifiers: Build metadata that identifies a build.
6363
public init(
6464
_ major: Int,
6565
_ minor: Int,

0 commit comments

Comments
 (0)