//! Scheme parsing — RFC 3986 §3.1.
//!
//! `scheme = ALPHA *( ALPHA / DIGIT / "+" / "-" / "." )` followed by `:`.
use crate;
/// If `bytes` starts with `ALPHA *( ALPHA / DIGIT / "+" / "-" / "." )` followed
/// by `:`, return the byte index of the `:`. Otherwise `None`.
pub