Skip to content

Commit 33a49c1

Browse files
committed
format
1 parent 83a8c4c commit 33a49c1

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
lines changed

compiler/ext/ext_embed.mli

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ val missing_id_error_message : string
1515
val invalid_payload_error_message : string
1616
(** Error when embed payload is not a string literal or record literal. *)
1717

18-
1918
val normalize_tag_for_symbol : string -> string
2019
(** Convert an embed tag (validated as an attribute id) into a safe fragment
2120
for inclusion in a single identifier, by replacing '.' with '_'. *)

compiler/frontend/embed_index.ml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,7 @@ let write_structure_index ~outprefix ~sourcefile (ast : structure) : unit =
128128
| Some (Ext_json_noloc.Str s) -> s
129129
| _ ->
130130
(* Should be prevented by earlier validation *)
131-
Location.raise_errorf ~loc "%s"
132-
Ext_embed.missing_id_error_message)
131+
Location.raise_errorf ~loc "%s" Ext_embed.missing_id_error_message)
133132
| _ ->
134133
Location.raise_errorf ~loc "%s"
135134
Ext_embed.invalid_payload_error_message

rewatch/src/build/embeds.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,6 @@ pub struct GeneratedModuleInfo {
181181
pub rel_path: PathBuf,
182182
}
183183

184-
185-
186184
fn embeds_index_path_for_ast(ast_rel: &Path) -> PathBuf {
187185
let stem = ast_rel
188186
.file_stem()

0 commit comments

Comments
 (0)