Skip to content

Commit 15c3de3

Browse files
authored
Update proposal.md
1 parent 24194ed commit 15c3de3

File tree

1 file changed

+2
-2
lines changed
  • accepted/future-releases/1847 - FinalizationRegistry

1 file changed

+2
-2
lines changed

accepted/future-releases/1847 - FinalizationRegistry/proposal.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ abstract class Finalizer<T> {
180180
/// Attaches this finalizer to the given [value].
181181
///
182182
/// When [value] is no longer accessible to the program,
183-
/// the registry *may* call its callback function with [finalizationToken]
183+
/// the registry *may* call its callback function with [token]
184184
/// as argument.
185185
///
186186
/// The [value] and [detachKey] arguments do not count towards those
@@ -284,7 +284,7 @@ abstract class NativeFinalizer<T> {
284284
/// Attaches this finalizer to the given [value].
285285
///
286286
/// When [value] is no longer accessible to the program,
287-
/// the registry will call its callback function with [finalizationToken]
287+
/// the registry will call its callback function with [token]
288288
/// as argument.
289289
///
290290
/// The [value] and [detachKey] arguments do not count towards those

0 commit comments

Comments
 (0)