summaryrefslogtreecommitdiff
path: root/op_crates/file/lib.rs
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2021-04-09 11:27:27 +1000
committerGitHub <noreply@github.com>2021-04-09 11:27:27 +1000
commitd9d4a5d73c28741deaa2c93d87672ce117315fbf (patch)
tree57d08deb2e80796f9e426a4592b47254b112021d /op_crates/file/lib.rs
parent3168fa4ee7782e72b57745483a7b0df5df5ce083 (diff)
feat(lsp): add registry import auto-complete (#9934)
Diffstat (limited to 'op_crates/file/lib.rs')
-rw-r--r--op_crates/file/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/op_crates/file/lib.rs b/op_crates/file/lib.rs
index 4cfe4eed4..e8c2cde1d 100644
--- a/op_crates/file/lib.rs
+++ b/op_crates/file/lib.rs
@@ -12,7 +12,7 @@ use std::sync::Arc;
use std::sync::Mutex;
use uuid::Uuid;
-#[derive(Clone)]
+#[derive(Debug, Clone)]
pub struct Blob {
pub data: Vec<u8>,
pub media_type: String,
@@ -20,7 +20,7 @@ pub struct Blob {
pub struct Location(pub Url);
-#[derive(Default, Clone)]
+#[derive(Debug, Default, Clone)]
pub struct BlobUrlStore(Arc<Mutex<HashMap<Url, Blob>>>);
impl BlobUrlStore {