From ff5b649a843a0c1be9dc59612411a1693c95d651 Mon Sep 17 00:00:00 2001 From: MisakaVan <102937903+MisakaVan@users.noreply.github.com> Date: Tue, 8 Apr 2025 18:17:43 +0800 Subject: [PATCH] [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" --- libcxx/include/__tree | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcxx/include/__tree b/libcxx/include/__tree index 9d28381c8c2c..cdf8d04121d7 100644 --- a/libcxx/include/__tree +++ b/libcxx/include/__tree @@ -135,7 +135,7 @@ unsigned __tree_sub_invariant(_NodePtr __x) { } // Determines if the red black tree rooted at __root is a proper red black tree. -// __root == nullptr is a proper tree. Returns true is __root is a proper +// __root == nullptr is a proper tree. Returns true if __root is a proper // red black tree, else returns false. template _LIBCPP_HIDE_FROM_ABI bool __tree_invariant(_NodePtr __root) {