Skip to content

Commit

Permalink
fix(ast): correct code comment (#5004)
Browse files Browse the repository at this point in the history
Comment showing macro expansion did not match the actual macro output.
  • Loading branch information
overlookmotel committed Aug 20, 2024
1 parent b7db235 commit 7f3129e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/oxc_ast/src/ast/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,7 @@ pub(crate) use inherit_variants;
/// /// # Panic
/// /// Panics if not convertible.
/// #[inline]
/// pub fn to_declaration_mut(&mut self) -> Option<&mut Declaration<'a>> {
/// pub fn to_declaration_mut(&mut self) -> &mut Declaration<'a> {
/// self.as_declaration_mut().unwrap()
/// }
/// }
Expand Down

0 comments on commit 7f3129e

Please sign in to comment.