pub(crate) fn recover_comment_removed(
new: String,
span: Span,
context: &RewriteContext<'_>,
) -> String
Expand description
Checks is new
didn’t miss any comment from span
, if it removed any, return previous text
pub(crate) fn recover_comment_removed(
new: String,
span: Span,
context: &RewriteContext<'_>,
) -> String
Checks is new
didn’t miss any comment from span
, if it removed any, return previous text