Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 309a29b5965a0b2f36b3e245213eb43300a89ac2 16 lines 306 B view raw
1// SPDX-License-Identifier: Apache-2.0 OR MIT 2 3// The subset of Span's API stabilized in Rust 1.88. 4 5extern crate proc_macro; 6 7use proc_macro::Span; 8use std::path::PathBuf; 9 10pub fn file(this: &Span) -> String { 11 this.file() 12} 13 14pub fn local_file(this: &Span) -> Option<PathBuf> { 15 this.local_file() 16}