Skip to content

Commit

Permalink
docs(transformer/private-methods): amend comments (#8398)
Browse files Browse the repository at this point in the history
  • Loading branch information
overlookmotel committed Jan 10, 2025
1 parent 4e05e66 commit 05cba5b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ impl<'a> ClassProperties<'a, '_> {
/// class C {
/// #method() {}
/// set #prop(value) {}
/// get #prop() {return 0}
/// get #prop() { return 0; }
/// }
/// ```
///
Expand All @@ -31,7 +31,7 @@ impl<'a> ClassProperties<'a, '_> {
/// class C {}
/// function _method() {}
/// function _set_prop(value) {}
/// function _get_prop() {return 0}
/// function _get_prop() { return 0; }
/// ```
///
/// Returns `true` if the method was converted.
Expand Down Expand Up @@ -92,7 +92,7 @@ impl<'a> ClassProperties<'a, '_> {
}
}

/// Visitor to transform:
/// Visitor to transform private methods.
///
/// Almost the same as `super::static_block_and_prop_init::StaticVisitor`,
/// but only does following:
Expand Down

0 comments on commit 05cba5b

Please sign in to comment.