21 lines
357 B
Rust
21 lines
357 B
Rust
|
|
|
|
/// other doc comment
|
|
fn hi(name: String) -> String;
|
|
|
|
/// struct comment
|
|
struct ho {
|
|
ident: String,
|
|
/// also a doc comment
|
|
codebase: Vec<String>,
|
|
};
|
|
|
|
/// Some doc comment
|
|
nasp trinitrix {
|
|
fn hi(name: String) -> String;
|
|
}
|
|
|
|
|
|
// That's a flat out lie, but it results in a rather nice syntax highlight compared to nothing:
|
|
// vim: syntax=rust
|