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 {
216216
217217 // Returns either syntactic context, if it can be retrieved without taking the interner lock,
218218 // or an index into the interner if it cannot.
219+ #[ inline]
219220 fn inline_ctxt ( self ) -> Result < SyntaxContext , usize > {
220221 Ok ( if self . len_with_tag_or_marker != BASE_LEN_INTERNED_MARKER {
221222 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 {
22132213pub struct MacroRulesNormalizedIdent ( Ident ) ;
22142214
22152215impl MacroRulesNormalizedIdent {
2216+ #[ inline]
22162217 pub fn new ( ident : Ident ) -> Self {
22172218 Self ( ident. normalize_to_macro_rules ( ) )
22182219 }
You can’t perform that action at this time.
0 commit comments