Skip to content

Commit 32ebfa4

Browse files
committed
[AST] Comment tweak
1 parent 015b159 commit 32ebfa4

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

include/swift/AST/Decl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2416,7 +2416,7 @@ class ValueDecl : public Decl {
24162416
bool isUsableFromInline() const;
24172417

24182418
/// Returns \c true if this declaration is *not* intended to be used directly
2419-
/// by application developers despite of the visibility.
2419+
/// by application developers despite the visibility.
24202420
bool shouldHideFromEditor() const;
24212421

24222422
bool hasAccess() const {

lib/AST/Decl.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2550,8 +2550,6 @@ bool ValueDecl::isUsableFromInline() const {
25502550
return false;
25512551
}
25522552

2553-
/// Returns \c true if this declaration is *not* intended to be used directly
2554-
/// by application developers despite of the visibility.
25552553
bool ValueDecl::shouldHideFromEditor() const {
25562554
// Hide private stdlib declarations.
25572555
if (isPrivateStdlibDecl(/*treatNonBuiltinProtocolsAsPublic*/ false) ||

0 commit comments

Comments
 (0)