]>
git.proxmox.com Git - rustc.git/blob - src/tools/rustfmt/tests/target/itemized-blocks/wrap.rs
1 // rustfmt-wrap_comments: true
2 // rustfmt-format_code_in_doc_comments: true
3 // rustfmt-max_width: 50
5 //! This is an itemized markdown list (see also
10 //! * Inner with lots of text so that it could
11 //! be reformatted something something
12 //! something lots of text so that it could be
13 //! reformatted something something something
15 //! This example shows how to configure fern to
16 //! output really nicely colored logs
17 //! - when the log level is error, the whole line
19 //! - when the log level is warn, the whole line
21 //! - when the log level is info, the level name
22 //! is green and the rest of the line is white
23 //! - when the log level is debug, the whole line
25 //! - when the log level is trace, the whole line
26 //! is gray ("bright black")
28 //! This is a numbered markdown list (see also
30 //! 1. Long long long long long long long long
31 //! long long long long long long long long
33 //! 2. Another very long long long long long long
34 //! long long long long long long long long
37 //! 1. Long long long long long long long long
38 //! long long long long long long long long
40 //! 2. Another very long long long long long
41 //! long long long long long long long long
45 //! Using the ')' instead of '.' character after
47 //! 1) Long long long long long long long long
48 //! long long long long long long long long
50 //! 2) Another very long long long long long long
51 //! long long long long long long long long
54 //! Deep list that mixes various bullet and number
56 //! 1. First level with a long long long long long
57 //! long long long long long long long long
58 //! long long long long line
59 //! 2. First level with another very long long
60 //! long long long long long long long long
61 //! long long long long long line
62 //! * Second level with a long long long long
63 //! long long long long long long long long
64 //! long long long long line
65 //! * Second level with another very long long
66 //! long long long long long long long long
67 //! long long long long line
68 //! 1) Third level with a long long long
69 //! long long long long long long long
70 //! long long long long long long line
71 //! 2) Third level with another very long
72 //! long long long long long long long
73 //! long long long long long long line
74 //! - Forth level with a long long
75 //! long long long long long long
76 //! long long long long long long
78 //! - Forth level with another very
79 //! long long long long long long
80 //! long long long long long long
82 //! 3) One more item at the third level
83 //! 4) Last item of the third level
84 //! * Last item of second level
85 //! 3. Last item of first level
87 // This example shows how to configure fern to
88 // output really nicely colored logs
89 // - when the log level is error, the whole line
91 // - when the log level is warn, the whole line
93 // - when the log level is info, the level
94 // name is green and the rest of the line is
96 // - when the log level is debug, the whole line
98 // - when the log level is trace, the whole line
99 // is gray ("bright black")
101 /// All the parameters ***except for
102 /// `from_theater`*** should be inserted as sent
103 /// by the remote theater, i.e., as passed to
104 /// [`Theater::send`] on the remote actor:
105 /// * `from` is the sending (remote) [`ActorId`],
106 /// as reported by the remote theater by
107 /// theater-specific means
108 /// * `to` is the receiving (local) [`ActorId`],
109 /// as requested by the remote theater
110 /// * `tag` is a tag that identifies the message
112 /// * `msg` is the (serialized) message
113 /// All the parameters ***except for
114 /// `from_theater`*** should be inserted as sent
115 /// by the remote theater, i.e., as passed to
116 /// [`Theater::send`] on the remote actor
119 /// All the parameters ***except for
120 /// `from_theater`*** should be inserted as sent
121 /// by the remote theater, i.e., as passed to
122 /// [`Theater::send`] on the remote actor:
123 /// * `from` is the sending (remote) [`ActorId`],
124 /// as reported by the remote theater by
125 /// theater-specific means
126 /// * `to` is the receiving (local) [`ActorId`],
127 /// as requested by the remote theater
128 /// * `tag` is a tag that identifies the message
130 /// * `msg` is the (serialized) message
141 /// * `from` is the sending (remote) [`ActorId`],
142 /// as reported by the remote theater by
143 /// theater-specific means
144 /// * `to` is the receiving (local) [`ActorId`],
145 /// as requested by the remote theater
146 /// * `tag` is a tag that identifies the message
148 /// * `msg` is the (serialized) message