File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -216,6 +216,7 @@ impl Span {
216
216
217
217
// Returns either syntactic context, if it can be retrieved without taking the interner lock,
218
218
// or an index into the interner if it cannot.
219
+ #[ inline]
219
220
fn inline_ctxt ( self ) -> Result < SyntaxContext , usize > {
220
221
Ok ( if self . len_with_tag_or_marker != BASE_LEN_INTERNED_MARKER {
221
222
if self . len_with_tag_or_marker & PARENT_TAG == 0 {
Original file line number Diff line number Diff line change @@ -2213,6 +2213,7 @@ impl fmt::Display for IdentPrinter {
2213
2213
pub struct MacroRulesNormalizedIdent ( Ident ) ;
2214
2214
2215
2215
impl MacroRulesNormalizedIdent {
2216
+ #[ inline]
2216
2217
pub fn new ( ident : Ident ) -> Self {
2217
2218
Self ( ident. normalize_to_macro_rules ( ) )
2218
2219
}
You can’t perform that action at this time.
0 commit comments