Make AttrValue::span instance function public

This commit is contained in:
TheAwiteb 2023-08-29 01:15:22 +03:00
parent f0ce8b6a29
commit 19a16d21eb
No known key found for this signature in database
GPG key ID: ABF818BD15DC2D34

View file

@ -124,7 +124,7 @@ impl AttrValue {
/// #[blahblah(key = "puff", value = 12, nope )]
/// ^^^^^^ ^^ ^
/// ```
fn span(&self) -> Span {
pub fn span(&self) -> Span {
match self {
Self::Path(p) => p.span(),
Self::Lit(l) => l.span(),