From 1947e22eb4b8829c069e6ff104c4f796e24d3a82 Mon Sep 17 00:00:00 2001 From: Tim Stumbaugh Date: Sun, 5 Jan 2025 18:32:55 -0700 Subject: [PATCH] Fix typo in comment (#830) --- include/nanobind/nb_lib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/nanobind/nb_lib.h b/include/nanobind/nb_lib.h index 3541bce8..7ea1703c 100644 --- a/include/nanobind/nb_lib.h +++ b/include/nanobind/nb_lib.h @@ -305,7 +305,7 @@ NB_CORE PyObject *nb_type_put_unique_p(const std::type_info *cpp_type, void *value, cleanup_list *cleanup, bool cpp_delete) noexcept; -/// Try to reliquish ownership from Python object to a unique_ptr; +/// Try to relinquish ownership from Python object to a unique_ptr; /// return true if successful, false if not. (Failure is only /// possible if `cpp_delete` is true.) NB_CORE bool nb_type_relinquish_ownership(PyObject *o, bool cpp_delete) noexcept;