Skip to content

Commit 4f8880f

Browse files
authored
[docs] Add missing word in embind.rst (#23489)
1 parent fd52f0a commit 4f8880f

File tree

1 file changed

+1
-1
lines changed
  • site/source/docs/porting/connecting_cpp_and_javascript

1 file changed

+1
-1
lines changed

site/source/docs/porting/connecting_cpp_and_javascript/embind.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,7 @@ Class properties can be defined several ways as seen below.
860860
class_<Person>("Person")
861861
.constructor<>()
862862
// Bind directly to a class member with automatically generated getters/setters using a
863-
// reference return policy so the object does not need to be deleted JS.
863+
// reference return policy so the object does not need to be deleted from JS.
864864
.property("location", &Person::location, return_value_policy::reference())
865865
// Same as above, but this will return a copy and the object must be deleted or it will
866866
// leak!

0 commit comments

Comments
 (0)