commit | bd2af034b676a4eb5a98eec84ceae6339e77fcc2 | [log] [tgz] |
---|---|---|
author | David Tolnay <dtolnay@gmail.com> | Thu Mar 07 22:52:12 2019 -0800 |
committer | David Tolnay <dtolnay@gmail.com> | Thu Mar 07 23:01:32 2019 -0800 |
tree | 0acfa85b4e8b19251a76db7e4d8e21f3be7ccd9c | |
parent | 86dd3bc05ce13d4679001c796bc620561b93de41 [diff] |
PathArgument::is_none is only called from Path::is_ident
diff --git a/src/path.rs b/src/path.rs index d435228..20c70cd 100644 --- a/src/path.rs +++ b/src/path.rs
@@ -86,6 +86,7 @@ } } + #[cfg(feature = "parsing")] fn is_none(&self) -> bool { match *self { PathArguments::None => true,