mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-02 22:55:08 +00:00
Update salsa (#18212)
This commit is contained in:
parent
f9ca6eb63e
commit
3b56c7ca3d
10 changed files with 82 additions and 10 deletions
|
@ -275,7 +275,12 @@ impl fmt::Debug for Files {
|
|||
impl std::panic::RefUnwindSafe for Files {}
|
||||
|
||||
/// A file that's either stored on the host system's file system or in the vendored file system.
|
||||
///
|
||||
/// # Ordering
|
||||
/// Ordering is based on the file's salsa-assigned id and not on its values.
|
||||
/// The id may change between runs.
|
||||
#[salsa::input]
|
||||
#[derive(PartialOrd, Ord)]
|
||||
pub struct File {
|
||||
/// The path of the file (immutable).
|
||||
#[returns(ref)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue