mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
Make AttrValue::span
instance function public
This commit is contained in:
parent
f0ce8b6a29
commit
19a16d21eb
1 changed files with 1 additions and 1 deletions
|
@ -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(),
|
||||
|
|
Loading…
Reference in a new issue