mirror of
https://github.com/teloxide/teloxide.git
synced 2025-03-21 14:29:01 +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 )]
|
/// #[blahblah(key = "puff", value = 12, nope )]
|
||||||
/// ^^^^^^ ^^ ^
|
/// ^^^^^^ ^^ ^
|
||||||
/// ```
|
/// ```
|
||||||
fn span(&self) -> Span {
|
pub fn span(&self) -> Span {
|
||||||
match self {
|
match self {
|
||||||
Self::Path(p) => p.span(),
|
Self::Path(p) => p.span(),
|
||||||
Self::Lit(l) => l.span(),
|
Self::Lit(l) => l.span(),
|
||||||
|
|
Loading…
Add table
Reference in a new issue