pub fn swc_comments_to_single_threaded(
comments: &SwcComments,
) -> SingleThreadedCommentsExpand description
Converts multi-threaded [SwcComments] into [SingleThreadedComments] by
copying all entries. Required when APIs (e.g. swc_ecma_react_compiler)
only accept the single-threaded variant.