We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 797f531 commit d02624cCopy full SHA for d02624c
runtime/rust/src/main.rs
@@ -1,6 +1,29 @@
1
use regex::Regex;
2
use tungstenite::{Message, connect};
3
4
+/// This is a doc comment.
5
+/// See https://doc.rust-lang.org/rustdoc/write-documentation/the-doc-attribute.html
6
+/// # Examples
7
+///
8
+/// ```
9
+/// /// This example can be tested with `rustdoc --test main.rs`
10
+/// # let baz = "baz" /// this line will be hidden from the docs
11
+/// let foo = "foo";
12
+/// assert_eq!(foo, "foo");
13
14
+
15
+#[doc = r" This is a doc comment."]
16
+#[doc = include_str!("../README.md")]
17
18
+/// bar docs
19
+mod bar {
20
+ /// the docs for Bar
21
+ pub struct Bar;
22
+}
23
24
+/// This struct is not [Bar]
25
+pub struct Foo1;
26
27
fn main() {
28
println!("Hello, world!");
29
0 commit comments