Răsfoiți Sursa

Remove the 5.9 comments. (#1786)

Since the required minimum is 5.9 now, the comments aren't really
needed.
Thomas Van Lenten 10 luni în urmă
părinte
comite
afd9ddf43b
2 a modificat fișierele cu 2 adăugiri și 3 ștergeri
  1. 2 2
      Documentation/PLUGIN.md
  2. 0 1
      Plugins/SwiftProtobufPlugin/plugin.swift

+ 2 - 2
Documentation/PLUGIN.md

@@ -119,8 +119,8 @@ The possible values for `Visibility` are:
 
 * `Internal` (default): No visibility is set for the types, so they get the
   default internal visibility.
-* `Package` (Swift 5.9 or later required): The visibility on the types is set to
- `package` so the types will be exposed across the whole Swift package they belong to.
+* `Package`: The visibility on the types is set to`package` so the types
+  will be exposed across the whole Swift package they belong to.
 * `Public`: The visibility on the types is set to `public` so the types will
   be exposed outside the module they are compiled into.
 

+ 0 - 1
Plugins/SwiftProtobufPlugin/plugin.swift

@@ -38,7 +38,6 @@ struct SwiftProtobufPlugin {
                 /// The generated files should have `public` access level.
                 case `public` = "Public"
                 /// The generated files should have `package` access level.
-                /// - Note: Swift 5.9 or later is needed to use this option.
                 case `package` = "Package"
 
                 init?(rawValue: String) {