File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -753,8 +753,8 @@ func _trueAfterDiagnostics() -> Builtin.Int1 {
753
753
/// declared for the parameter) and a dynamic type of `Int`.
754
754
///
755
755
/// func printInfo(_ value: Any) {
756
- /// let type = type(of: value)
757
- /// print("'\(value)' of type '\(type )'")
756
+ /// let t = type(of: value)
757
+ /// print("'\(value)' of type '\(t )'")
758
758
/// }
759
759
///
760
760
/// let count: Int = 5
@@ -816,8 +816,8 @@ func _trueAfterDiagnostics() -> Builtin.Int1 {
816
816
/// of `String.self` (the dynamic type inside the parameter).
817
817
///
818
818
/// func printGenericInfo<T>(_ value: T) {
819
- /// let type = type(of: value)
820
- /// print("'\(value)' of type '\(type )'")
819
+ /// let t = type(of: value)
820
+ /// print("'\(value)' of type '\(t )'")
821
821
/// }
822
822
///
823
823
/// protocol P {}
@@ -835,8 +835,8 @@ func _trueAfterDiagnostics() -> Builtin.Int1 {
835
835
/// calling `type(of:)`.
836
836
///
837
837
/// func betterPrintGenericInfo<T>(_ value: T) {
838
- /// let type = type(of: value as Any)
839
- /// print("'\(value)' of type '\(type )'")
838
+ /// let t = type(of: value as Any)
839
+ /// print("'\(value)' of type '\(t )'")
840
840
/// }
841
841
///
842
842
/// betterPrintGenericInfo(stringAsP)
You can’t perform that action at this time.
0 commit comments