16 lines · 306 B · Rust
RawDownload
// SPDX-License-Identifier: Apache-2.0 OR MIT // The subset of Span's API stabilized in Rust 1.88. extern crate proc_macro; use proc_macro::Span;use std::path::PathBuf; pub fn file(this: &Span) -> String {    this.file()} pub fn local_file(this: &Span) -> Option<PathBuf> {    this.local_file()}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t