Skip to content

Commit eda2203

Browse files
committed
Fix bogus comments
Swift SVN r7401
1 parent 186355f commit eda2203

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/swift/AST/Decl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1299,7 +1299,7 @@ class GenericTypeParamDecl : public AbstractTypeParamDecl {
12991299
/// }
13001300
/// \endcode
13011301
///
1302-
/// Here 'T' has depth 0 and 'U' has depth 0. Both have index 0.
1302+
/// Here 'T' has depth 0 and 'U' has depth 1. Both have index 0.
13031303
unsigned getDepth() const { return Depth; }
13041304

13051305
/// Set the depth of this generic type parameter.

include/swift/AST/Types.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1927,7 +1927,7 @@ class GenericTypeParamType : public AbstractTypeParamType {
19271927
/// }
19281928
/// \endcode
19291929
///
1930-
/// Here 'T' has depth 0 and 'U' has depth 0. Both have index 0.
1930+
/// Here 'T' has depth 0 and 'U' has depth 1. Both have index 0.
19311931
unsigned getDepth() const;
19321932

19331933
/// The index of this generic type parameter within its generic parameter

0 commit comments

Comments
 (0)