Merge branch 'main' into kvark-linux
This commit is contained in:
commit
67555ee5b4
238 changed files with 6624 additions and 3524 deletions
|
@ -15,6 +15,7 @@ test-support = ["tempfile", "git2"]
|
|||
[dependencies]
|
||||
anyhow.workspace = true
|
||||
backtrace = "0.3"
|
||||
collections.workspace = true
|
||||
dirs = "3.0"
|
||||
futures.workspace = true
|
||||
git2 = { workspace = true, optional = true }
|
||||
|
|
|
@ -157,7 +157,7 @@ pub const FILE_ROW_COLUMN_DELIMITER: char = ':';
|
|||
|
||||
/// A representation of a path-like string with optional row and column numbers.
|
||||
/// Matching values example: `te`, `test.rs:22`, `te:22:5`, etc.
|
||||
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize, Hash)]
|
||||
pub struct PathLikeWithPosition<P> {
|
||||
pub path_like: P,
|
||||
pub row: Option<u32>,
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
use std::{cmp::Ordering, collections::HashMap, ops::Range};
|
||||
use collections::HashMap;
|
||||
use std::{cmp::Ordering, ops::Range};
|
||||
|
||||
/// Construct a string and a list of offsets within that string using a single
|
||||
/// string containing embedded position markers.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue