]> git.ozlabs.org Git - ccan/blobdiff - ccan/rbtree/rbtree.c
Fix typos detected by github.com/client9/misspell
[ccan] / ccan / rbtree / rbtree.c
index 56fa3f155c7e87c1ee83c067c00cf4685bf798ee..8a59b76ba6fe5a07ef277ab295d91959a3be4d7c 100644 (file)
@@ -448,7 +448,7 @@ delete_node(trbt_node_t *node)
           predecessor instead.
           The predecessor is guaranteed to have at most one child
           node since its right arm must be NULL
           predecessor instead.
           The predecessor is guaranteed to have at most one child
           node since its right arm must be NULL
-          (It must be NULL since we are its sucessor and we are above
+          (It must be NULL since we are its successor and we are above
            it in the tree)
         */
        if (node->left != NULL && node->right != NULL) {
            it in the tree)
         */
        if (node->left != NULL && node->right != NULL) {