File tree 1 file changed +1
-2
lines changed
lightning-custom-message/src
1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 12
12
//! `Foo` and `Bar` messages, and further composing it with a handler for `Baz` messages.
13
13
//!
14
14
//!```
15
+ //! # fn main() {} // Avoid #[macro_export] generating an in-function warning
15
16
//! # extern crate bitcoin;
16
17
//! extern crate lightning;
17
18
//! #[macro_use]
167
168
//! # }
168
169
//! }
169
170
//!
170
- //! # fn main() {
171
171
//! // The first crate may define a handler composing `FooHandler` and `BarHandler` and export the
172
172
//! // corresponding message type ids as a macro to use in further composition.
173
173
//!
207
207
//! macro_rules! foo_bar_baz_type_ids {
208
208
//! () => { foo_bar_type_ids!() | baz_type_id!() }
209
209
//! }
210
- //! # }
211
210
//!```
212
211
//!
213
212
//! [BOLT 1]: https://github.com/lightning/bolts/blob/master/01-messaging.md
You can’t perform that action at this time.
0 commit comments