/**
 * Rust language support for CodeMirror 6
 * Wraps @codemirror/lang-rust
 */

import { rust as cmRust } from '@codemirror/lang-rust'
import { type LanguageSupport } from '@codemirror/language'

/** Rust language support for CodeMirror */
export function rust(): LanguageSupport {
  return cmRust()
}
