Show appropriate feature flags in docs
This commit is contained in:
@@ -103,7 +103,8 @@ impl Iterator for LookupHost {
|
||||
/// # Examples
|
||||
///
|
||||
/// ```no_run
|
||||
/// # #![feature(lookup_host)]
|
||||
/// #![feature(lookup_host)]
|
||||
///
|
||||
/// use std::net;
|
||||
///
|
||||
/// # fn foo() -> std::io::Result<()> {
|
||||
|
||||
Reference in New Issue
Block a user