Add #![feature] attributes to doctests
This commit is contained in:
@@ -27,6 +27,7 @@ use sys_common::AsInner;
|
||||
/// # Examples
|
||||
///
|
||||
/// ```no_run
|
||||
/// # #![feature(net)]
|
||||
/// use std::net::UdpSocket;
|
||||
///
|
||||
/// # fn foo() -> std::io::Result<()> {
|
||||
|
||||
Reference in New Issue
Block a user