Skip to content

Fix ambiguity of glob import with matches! now in the standard library #402

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 25, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion html5ever/src/tree_builder/tag_sets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//! Various sets of HTML tag names, and macros for declaring them.

use crate::ExpandedName;
use mac::*;
use mac::{matches, _tt_as_expr_hack};
use markup5ever::{expanded_name, local_name, namespace_prefix, namespace_url, ns};

macro_rules! declare_tag_set_impl ( ($param:ident, $b:ident, $supr:ident, $($tag:tt)+) => (
Expand Down
2 changes: 1 addition & 1 deletion html5ever/src/util/str.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

use mac::*;
use mac::{matches, _tt_as_expr_hack};
use std::fmt;

pub fn to_escaped_string<T: fmt::Debug>(x: &T) -> String {
Expand Down
2 changes: 1 addition & 1 deletion xml5ever/src/tree_builder/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
mod types;

use log::{debug, warn};
use mac::*;
use mac::{matches, _tt_as_expr_hack, unwrap_or_return};
use markup5ever::{local_name, namespace_prefix, namespace_url, ns};
use std::borrow::Cow;
use std::borrow::Cow::Borrowed;
Expand Down
2 changes: 1 addition & 1 deletion xml5ever/src/util/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

use mac::*;
use mac::{matches, _tt_as_expr_hack};

/// Is the character an ASCII alphanumeric character?
pub fn is_ascii_alnum(c: char) -> bool {
Expand Down