Skip to content

Commit 3d5e24b

Browse files
committed
Make expanded_name!() independant of scope
1 parent 8b44881 commit 3d5e24b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

markup5ever/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "markup5ever"
3-
version = "0.7.1"
3+
version = "0.7.2"
44
authors = [ "The html5ever Project Developers" ]
55
license = "MIT / Apache-2.0"
66
repository = "https://github.com/servo/html5ever"

markup5ever/interface/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ impl<'a> fmt::Debug for ExpandedName<'a> {
4141
#[macro_export]
4242
macro_rules! expanded_name {
4343
("", $local: tt) => {
44-
ExpandedName {
44+
$crate::interface::ExpandedName {
4545
ns: &ns!(),
4646
local: &local_name!($local),
4747
}
4848
};
4949
($ns: ident $local: tt) => {
50-
ExpandedName {
50+
$crate::interface::ExpandedName {
5151
ns: &ns!($ns),
5252
local: &local_name!($local),
5353
}

0 commit comments

Comments
 (0)