Debian Codegraph @

.cargo/vendor/cbindgen/tests/rust/documentation.rs

raw
1 /// The root of all evil.
2 ///
3 /// But at least it contains some more documentation as someone would expect
4 /// from a simple test case like this.
5 ///
6 /// # Hint
7 ///
8 /// Always ensure that everything is properly documented, even if you feel lazy.
9 /// **Sometimes** it is also helpful to include some markdown formatting.
10 ///
11 /// ////////////////////////////////////////////////////////////////////////////
12 ///
13 /// Attention:
14 ///
15 /// Rust is going to trim all leading `/` symbols. If you want to use them as a
16 /// marker you need to add at least a single whitespace inbetween the tripple
17 /// slash doc-comment marker and the rest.
18 ///
19 #[no_mangle]
20 pub extern "C" fn root() {
21 }