Skip to content

Commit ff5b649

Browse files
authored
[libc++] Fix a comment typo in __tree (#134831)
"Returns true **is** __root is a proper red black tree" -> "Returns true **if** __root is a proper red black tree"
1 parent 6a42fb8 commit ff5b649

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcxx/include/__tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ unsigned __tree_sub_invariant(_NodePtr __x) {
135135
}
136136

137137
// Determines if the red black tree rooted at __root is a proper red black tree.
138-
// __root == nullptr is a proper tree. Returns true is __root is a proper
138+
// __root == nullptr is a proper tree. Returns true if __root is a proper
139139
// red black tree, else returns false.
140140
template <class _NodePtr>
141141
_LIBCPP_HIDE_FROM_ABI bool __tree_invariant(_NodePtr __root) {

0 commit comments

Comments
 (0)