Skip to content

Commit

Permalink
Added missing fake_main #522
Browse files Browse the repository at this point in the history
  • Loading branch information
andrisak committed Oct 31, 2019
1 parent 3a5aba3 commit 2065227
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/de.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2268,6 +2268,8 @@ where
/// }
///
/// fn main() {
/// # }
/// # fn fake_main() {
/// let listener = TcpListener::bind("127.0.0.1:4000").unwrap();
///
/// for stream in listener.incoming() {
Expand Down

0 comments on commit 2065227

Please sign in to comment.