This repository has been archived on 2024-05-26. You can view files and clone it, but cannot push or open issues or pull requests.
2023-12-23 17:57:10 +00:00
|
|
|
|
|
|
|
|
2023-12-24 10:28:30 +00:00
|
|
|
/// other doc comment
|
|
|
|
fn hi(name: String) -> String;
|
2023-12-23 15:07:17 +00:00
|
|
|
|
2023-12-24 10:28:30 +00:00
|
|
|
/// struct comment
|
|
|
|
struct ho {
|
|
|
|
ident: String,
|
|
|
|
/// also a doc comment
|
|
|
|
codebase: Vec<String>,
|
2023-12-23 15:07:17 +00:00
|
|
|
};
|
|
|
|
|
2023-12-24 10:28:30 +00:00
|
|
|
/// Some doc comment
|
|
|
|
nasp trinitrix {
|
|
|
|
fn hi(name: String) -> String;
|
2023-12-23 15:07:17 +00:00
|
|
|
}
|
2023-12-24 10:28:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
// That's a flat out lie, but it results in a rather nice syntax highlight compared to nothing:
|
|
|
|
// vim: syntax=rust
|