]> git.lizzy.rs Git - rust.git/blob - tests/target/itemized-blocks/no_wrap.rs
Fix static async closure qualifier order
[rust.git] / tests / target / itemized-blocks / no_wrap.rs
1 // rustfmt-normalize_comments: true
2 // rustfmt-format_code_in_doc_comments: true
3
4 //! This is a list:
5 //!  * Outer
6 //!  * Outer
7 //!   * Inner
8 //!   * Inner with lots of text so that it could be reformatted something something something lots of text so that it could be reformatted something something something
9 //!
10 //! This example shows how to configure fern to output really nicely colored logs
11 //! - when the log level is error, the whole line is red
12 //! - when the log level is warn, the whole line is yellow
13 //! - when the log level is info, the level name is green and the rest of the line is white
14 //! - when the log level is debug, the whole line is white
15 //! - when the log level is trace, the whole line is gray ("bright black")
16
17 /// All the parameters ***except for `from_theater`*** should be inserted as sent by the remote
18 /// theater, i.e., as passed to [`Theater::send`] on the remote actor:
19 ///  * `from` is the sending (remote) [`ActorId`], as reported by the remote theater by theater-specific means
20 ///  * `to` is the receiving (local) [`ActorId`], as requested by the remote theater
21 ///  * `tag` is a tag that identifies the message type
22 ///  * `msg` is the (serialized) message
23 /// All the parameters ***except for `from_theater`*** should be inserted as sent by the remote
24 /// theater, i.e., as passed to [`Theater::send`] on the remote actor
25 fn func1() {}
26
27 /// All the parameters ***except for `from_theater`*** should be inserted as sent by the remote
28 /// theater, i.e., as passed to [`Theater::send`] on the remote actor:
29 ///  * `from` is the sending (remote) [`ActorId`], as reported by the remote theater by theater-specific means
30 ///  * `to` is the receiving (local) [`ActorId`], as requested by the remote theater
31 ///  * `tag` is a tag that identifies the message type
32 ///  * `msg` is the (serialized) message
33 /// ```
34 /// let x = 42;
35 /// ```
36 fn func2() {}
37
38 /// Look:
39 ///
40 /// ```
41 /// let x = 42;
42 /// ```
43 ///  * `from` is the sending (remote) [`ActorId`], as reported by the remote theater by theater-specific means
44 ///  * `to` is the receiving (local) [`ActorId`], as requested by the remote theater
45 ///  * `tag` is a tag that identifies the message type
46 ///  * `msg` is the (serialized) message
47 fn func3() {}