Remove needless main() definition from example
This commit is contained in:
		
							parent
							
								
									dfcec577d8
								
							
						
					
					
						commit
						a65a273e8d
					
				| 
						 | 
					@ -35,7 +35,6 @@
 | 
				
			||||||
//! You can parse IRC messages using the provided `parse` function.
 | 
					//! You can parse IRC messages using the provided `parse` function.
 | 
				
			||||||
//!
 | 
					//!
 | 
				
			||||||
//! ```
 | 
					//! ```
 | 
				
			||||||
//! fn main() {
 | 
					 | 
				
			||||||
//! let msg = "@id=123;name=rick :nick!user@host.tmi.twitch.tv PRIVMSG #rickastley :Never gonna give you up!";
 | 
					//! let msg = "@id=123;name=rick :nick!user@host.tmi.twitch.tv PRIVMSG #rickastley :Never gonna give you up!";
 | 
				
			||||||
//! match ircparser::parse(msg) {
 | 
					//! match ircparser::parse(msg) {
 | 
				
			||||||
//!     Ok(x) => {
 | 
					//!     Ok(x) => {
 | 
				
			||||||
| 
						 | 
					@ -54,7 +53,6 @@
 | 
				
			||||||
//!         return;
 | 
					//!         return;
 | 
				
			||||||
//!     }
 | 
					//!     }
 | 
				
			||||||
//! };
 | 
					//! };
 | 
				
			||||||
//! }
 | 
					 | 
				
			||||||
//! ```
 | 
					//! ```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
mod line;
 | 
					mod line;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue