Skip to content
This repository was archived by the owner on Aug 16, 2021. It is now read-only.

Commit 2ed56b8

Browse files
committed
Update documentation
1 parent 7caf213 commit 2ed56b8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,10 @@
164164
//! display("unknown toolchain version: '{}'", v), // trailing comma is allowed
165165
//! }
166166
//! }
167+
//!
168+
//! // If this annotation is left off, a variant `Msg(s: String)` will be added, and `From`
169+
//! // impls will be provided for `String` and `&str`
170+
//! skip_msg_variant
167171
//! }
168172
//!
169173
//! # fn main() {}

0 commit comments

Comments
 (0)