mirror of
https://github.com/joshuadavidthomas/django-language-server.git
synced 2025-09-10 12:26:50 +00:00
remove
This commit is contained in:
parent
bf39fd633a
commit
94aa986ab8
1 changed files with 0 additions and 10 deletions
|
@ -1,9 +1,7 @@
|
|||
use anyhow::Result;
|
||||
use serde::Deserialize;
|
||||
use std::collections::HashMap;
|
||||
use std::convert::TryFrom;
|
||||
use std::fs;
|
||||
use std::ops::{Deref, Index};
|
||||
use std::path::Path;
|
||||
use thiserror::Error;
|
||||
use toml::Value;
|
||||
|
@ -99,14 +97,6 @@ impl TagSpecs {
|
|||
}
|
||||
}
|
||||
|
||||
impl TryFrom<&Path> for TagSpecs {
|
||||
type Error = TagSpecError;
|
||||
|
||||
fn try_from(path: &Path) -> Result<Self, Self::Error> {
|
||||
Self::load_from_toml(path, &[]).map_err(Into::into)
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Deserialize)]
|
||||
pub struct TagSpec {
|
||||
#[serde(rename = "type")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue