mirror of
https://github.com/helix-editor/helix
synced 2026-08-01 01:16:39 +02:00
14 lines
262 B
Rust
14 lines
262 B
Rust
use std::fmt;
|
|
// ^ @namespace
|
|
enum Color { Red }
|
|
// ^ @type.enum.variant
|
|
fn f(self) {
|
|
// ^ @variable.builtin
|
|
println!("ok");
|
|
// ^ @function.macro
|
|
self.helper();
|
|
// ^ @function.method
|
|
let p = Point {};
|
|
// ^ @constructor
|
|
}
|