Skip to content

Commit 2b8716a

Browse files
committed
feat: AssertSpaceAndHtmlAttributeName::as_inner_str
1 parent 125af5d commit 2b8716a

File tree

1 file changed

+4
-0
lines changed
  • packages/frender-ssr-html/src

1 file changed

+4
-0
lines changed

packages/frender-ssr-html/src/attr.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,8 @@ impl<'a> AssertSpaceAndHtmlAttributeName<&'a str> {
7474
// panic!("invalid AssertSpaceAndHtmlAttributeName")
7575
}
7676
}
77+
78+
pub const fn as_inner_str(&self) -> &'a str {
79+
self.v
80+
}
7781
}

0 commit comments

Comments
 (0)