]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #45602 - petrochenkov:ospan, r=michaelwoerister
authorkennytm <kennytm@gmail.com>
Wed, 1 Nov 2017 05:32:10 +0000 (13:32 +0800)
committerGitHub <noreply@github.com>
Wed, 1 Nov 2017 05:32:10 +0000 (13:32 +0800)
Optimize some span operations

Do not decode span data twice/thrice/etc unnecessarily.
Applied to stable hashing and all methods in `impl Span`.

Follow up to https://github.com/rust-lang/rust/pull/44646
r? @michaelwoerister

1  2 
src/librustc/ich/hcx.rs

Simple merge