Commit 78a35581 authored by eonm's avatar eonm
Browse files

Change doc example to no_run

parent c002bf20
......@@ -22,7 +22,8 @@ impl Socket {
/// Create a new nl80211 socket with netlink
///
/// # Example
/// ```
///
/// ```no_run
/// # use nl80211::{Socket, Nl80211Attr, Nl80211Cmd, NL_80211_GENL_VERSION, PrettyFormat};
/// # use neli::nlattr::Nlattr;
/// # use neli::genl::Genlmsghdr;
......@@ -91,7 +92,7 @@ impl Socket {
///
/// # Example
///
/// ```
/// ```no_run
/// # use nl80211::{Socket, PrettyFormat};
///
/// # fn main() -> Result<(), neli::err::NlError>{
......@@ -141,7 +142,7 @@ impl Socket {
///
/// # Example
///
/// ```
/// ```no_run
/// # use nl80211::{Socket, PrettyFormat};
///
/// # fn main() -> Result<(), neli::err::NlError>{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment