mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-27 12:29:28 +00:00
Set durabilities for low-durability fields on high-durability inputs (#12627)
This commit is contained in:
parent
dfb08856eb
commit
12177a42e3
6 changed files with 50 additions and 51 deletions
|
@ -7,7 +7,7 @@
|
|||
/// * The last modification time of the file.
|
||||
/// * The hash of the file's content.
|
||||
/// * The revision as it comes from an external system, for example the LSP.
|
||||
#[derive(Copy, Clone, Debug, Eq, PartialEq)]
|
||||
#[derive(Copy, Clone, Debug, Eq, PartialEq, Default)]
|
||||
pub struct FileRevision(u128);
|
||||
|
||||
impl FileRevision {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue