From 23c2284f09e585af3d8a5a177c5fa214bb012f28 Mon Sep 17 00:00:00 2001 From: kennytm Date: Thu, 4 Dec 2014 05:40:17 +0800 Subject: [PATCH] rustup. (missing enum namespace in doctest.) --- src/optimize.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/optimize.rs b/src/optimize.rs index 3d59ac0..1ac8997 100644 --- a/src/optimize.rs +++ b/src/optimize.rs @@ -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::>(); /// assert_eq!(parse_res, vec![Segment { mode: Alphanumeric, begin: 0, end: 3 },