Skip to content

Commit 24302c9

Browse files
authored
doc: fix typo in CppgcMixin docs
PR-URL: #54762 Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 26eb062 commit 24302c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1013,7 +1013,7 @@ A `cppgc`-managed native wrapper should look something like this:
10131013
// CPPGC_MIXIN is a helper macro for inheriting from cppgc::GarbageCollected,
10141014
// cppgc::NameProvider and public CppgcMixin. Per cppgc rules, it must be
10151015
// placed at the left-most position in the class hierarchy.
1016-
class MyWrap final : CPPGC_MIXIN(ContextifyScript) {
1016+
class MyWrap final : CPPGC_MIXIN(MyWrap) {
10171017
public:
10181018
SET_CPPGC_NAME(MyWrap) // Sets the heap snapshot name to "Node / MyWrap"
10191019

0 commit comments

Comments
 (0)