Skip to content

Commit 87be1a2

Browse files
authored
Fix spelling mistake (#1020)
1 parent 07307c4 commit 87be1a2

File tree

1 file changed

+1
-1
lines changed
  • include/nanobind/intrusive

1 file changed

+1
-1
lines changed

include/nanobind/intrusive/ref.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ template <typename T> class ref {
4343
/// Copy a reference, increases the reference count
4444
ref(const ref &r) : m_ptr(r.m_ptr) { inc_ref((intrusive_base *) m_ptr); }
4545

46-
/// Move a reference witout changing the reference count
46+
/// Move a reference without changing the reference count
4747
ref(ref &&r) noexcept : m_ptr(r.m_ptr) { r.m_ptr = nullptr; }
4848

4949
/// Destroy this reference

0 commit comments

Comments
 (0)