From 8d2c8de2c1d3d714308c2557547c85835c871f37 Mon Sep 17 00:00:00 2001 From: Tim Stumbaugh Date: Fri, 20 Dec 2024 14:50:09 -0700 Subject: [PATCH] Fix typo in comment --- 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;