diff options
| author | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2018-12-04 16:26:34 +0100 |
|---|---|---|
| committer | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2018-12-17 08:53:01 +0100 |
| commit | c66b84457f203285134f92c1c141716a030266eb (patch) | |
| tree | 734bc9438ba2601a65ce7abbe0ac132c9b1f487e /src/libsyntax | |
| parent | 63f8e6e12b3f9655fb58282e7a75f411b7e8b4ee (diff) | |
| download | rust-c66b84457f203285134f92c1c141716a030266eb.tar.gz rust-c66b84457f203285134f92c1c141716a030266eb.zip | |
Tweak query code for performance
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/parse/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsyntax/parse/mod.rs b/src/libsyntax/parse/mod.rs index e3cccacb3c3..200b1cecc03 100644 --- a/src/libsyntax/parse/mod.rs +++ b/src/libsyntax/parse/mod.rs @@ -81,6 +81,7 @@ impl ParseSess { } } + #[inline] pub fn source_map(&self) -> &SourceMap { &self.source_map } |
