Skip to content

Commit 8636898

Browse files
committed
remove unused methods
1 parent 382e8e8 commit 8636898

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/workspace/mod.rs

-16
Original file line numberDiff line numberDiff line change
@@ -144,22 +144,6 @@ pub struct JsxImportSourceConfig {
144144
pub jsx_import_source_types: Option<JsxImportSourceSpecifierConfig>,
145145
}
146146

147-
impl JsxImportSourceConfig {
148-
pub fn maybe_specifier_text(&self) -> Option<String> {
149-
self
150-
.jsx_import_source
151-
.as_ref()
152-
.map(|s| format!("{}/{}", s.specifier, self.module))
153-
}
154-
155-
pub fn maybe_types_specifier_text(&self) -> Option<String> {
156-
self
157-
.jsx_import_source_types
158-
.as_ref()
159-
.map(|s| format!("{}/{}", s.specifier, self.module))
160-
}
161-
}
162-
163147
#[derive(Debug, Clone, Error, JsError, PartialEq, Eq)]
164148
#[class(type)]
165149
pub enum WorkspaceDiagnosticKind {

0 commit comments

Comments
 (0)