The span on a inner doc-comment would point to the next token, e.g. the span for the `a` line points to the `b` line, and the span of `b` points to the `fn`.
```rust
//! a
//! b
fn bar() {}
```
|
||
|---|---|---|
| .. | ||
| io | ||
| lib.rs | ||
| task.rs | ||
The span on a inner doc-comment would point to the next token, e.g. the span for the `a` line points to the `b` line, and the span of `b` points to the `fn`.
```rust
//! a
//! b
fn bar() {}
```
|
||
|---|---|---|
| .. | ||
| io | ||
| lib.rs | ||
| task.rs | ||