rustup. (missing enum namespace in doctest.)

This commit is contained in:
kennytm 2014-12-04 05:40:17 +08:00
parent bd98d576c4
commit 23c2284f09

View file

@ -93,7 +93,7 @@ impl<'a> Parser<'a> {
/// contains their exclusive subsets. No optimization is done at this point.
///
/// use qrcode::optimize::{Parser, Segment};
/// use qrcode::types::{Numeric, Alphanumeric, Byte};
/// use qrcode::types::Mode::{Alphanumeric, Numeric, Byte};
///
/// let parse_res = Parser::new(b"ABC123abcd").collect::<Vec<Segment>>();
/// assert_eq!(parse_res, vec![Segment { mode: Alphanumeric, begin: 0, end: 3 },