fn parse(input: ParseStream) -> Result<Self> {
		let inner = match input.fork().parse::<P>() {
			Ok(_item) => Some(input.parse().expect("Same parsing ran before")),
			Err(_e) => None,
		};

		Ok(Opt { inner })
	}
// Note that it cost a double parsing (same as enum derive)
Note that it cost a double parsing (same as enum derive)
Note that it cost a double parsing ( same as enum derive )
fn parse(input: ParseStream) -> Result<Self> {
		let inner = match input.fork().parse::<P>() {
			Ok(_item) => Some(input.parse().expect("Same parsing ran before")),
			Err(_e) => None,
		};
		Ok(Opt { inner })
	}
fn parse ( input : ParseStream ) -> Result < Self > { let inner = match input . fork ( ) . parse :: < P > ( ) { Ok ( _item ) => Some ( input . parse ( ) . expect ( " " ) ) , Err ( _e ) => None , } ; Ok ( Opt { inner } ) }
Note that it cost a double parsing (same as enum derive)
Note that it cost a double parsing ( same as enum derive )
input
ParseStream
input
ParseStream