about summary refs log tree commit diff
path: root/editors/code/src/rust_project.ts
diff options
context:
space:
mode:
authorDavid Barsky <me@davidbarsky.com>2023-03-09 15:27:24 -0500
committerDavid Barsky <me@davidbarsky.com>2023-03-13 13:30:19 -0400
commit46e022098feda31c98120ca58b6ce02b45cdedf9 (patch)
tree46f454538a452420198ce2f509ea9455a38d6bd2 /editors/code/src/rust_project.ts
parent8af3d6367ecead0abf80e697176f697d97c25215 (diff)
downloadrust-46e022098feda31c98120ca58b6ce02b45cdedf9.tar.gz
rust-46e022098feda31c98120ca58b6ce02b45cdedf9.zip
fmt
Diffstat (limited to 'editors/code/src/rust_project.ts')
-rw-r--r--editors/code/src/rust_project.ts14
1 files changed, 7 insertions, 7 deletions
diff --git a/editors/code/src/rust_project.ts b/editors/code/src/rust_project.ts
index adf0f89c961..187a1a96c10 100644
--- a/editors/code/src/rust_project.ts
+++ b/editors/code/src/rust_project.ts
@@ -60,9 +60,9 @@ interface Crate {
     /// rust-analyzer assumes that files from one
     /// source can't refer to files in another source.
     source?: {
-        include_dirs: string[],
-        exclude_dirs: string[],
-    },
+        include_dirs: string[];
+        exclude_dirs: string[];
+    };
     /// The set of cfgs activated for a given crate, like
     /// `["unix", "feature=\"foo\"", "feature=\"bar\""]`.
     cfg: string[];
@@ -73,7 +73,7 @@ interface Crate {
     target?: string;
     /// Environment variables, used for
     /// the `env!` macro
-    env: { [key: string]: string; },
+    env: { [key: string]: string };
 
     /// Whether the crate is a proc-macro crate.
     is_proc_macro: boolean;
@@ -84,8 +84,8 @@ interface Crate {
 
 interface Dep {
     /// Index of a crate in the `crates` array.
-    crate: number,
+    crate: number;
     /// Name as should appear in the (implicit)
     /// `extern crate name` declaration.
-    name: string,
-}
\ No newline at end of file
+    name: string;
+}