From 5d141c88c81661dd1352d7538235f29f978e217d Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 30 Aug 2017 11:41:16 -0600 Subject: [PATCH] Change documentation of UnquotedUrl UnquotedUrl is only used for url() without quotes, so update the documentation to say so. --- src/tokenizer.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/tokenizer.rs b/src/tokenizer.rs index fb61f553..df0f16b2 100644 --- a/src/tokenizer.rs +++ b/src/tokenizer.rs @@ -44,9 +44,10 @@ pub enum Token<'a> { /// The value does not include the quotes. QuotedString(CowRcStr<'a>), - /// A [``](https://drafts.csswg.org/css-syntax/#url-token-diagram) or `url( )` function + /// A [``](https://drafts.csswg.org/css-syntax/#url-token-diagram) /// - /// The value does not include the `url(` `)` markers or the quotes. + /// The value does not include the `url(` `)` markers. Note that `url( )` is represented by a + /// `Function` token. UnquotedUrl(CowRcStr<'a>), /// A ``