diff options
| author | Malo Jaffré <jaffre.malo@gmail.com> | 2017-12-31 17:17:01 +0100 |
|---|---|---|
| committer | Malo Jaffré <jaffre.malo@gmail.com> | 2018-01-01 14:44:12 +0100 |
| commit | cbb32a94181d359ca16659b3e74303e945e8ea92 (patch) | |
| tree | 785a92dda4d9ec7b385d05d81db60a8a615cd5a7 /src/libsyntax/codemap.rs | |
| parent | 8395798d1aa33bb6ee74d05825bb775a75a9b70e (diff) | |
| download | rust-cbb32a94181d359ca16659b3e74303e945e8ea92.tar.gz rust-cbb32a94181d359ca16659b3e74303e945e8ea92.zip | |
Fix docs for future pulldown migration
Diffstat (limited to 'src/libsyntax/codemap.rs')
| -rw-r--r-- | src/libsyntax/codemap.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsyntax/codemap.rs b/src/libsyntax/codemap.rs index 2f3e2b66113..129defd2093 100644 --- a/src/libsyntax/codemap.rs +++ b/src/libsyntax/codemap.rs @@ -391,6 +391,7 @@ impl CodeMap { /// Returns `Some(span)`, a union of the lhs and rhs span. The lhs must precede the rhs. If /// there are gaps between lhs and rhs, the resulting union will cross these gaps. /// For this to work, the spans have to be: + /// /// * the ctxt of both spans much match /// * the lhs span needs to end on the same line the rhs span begins /// * the lhs span must start at or before the rhs span |
