Skip to content

Commit e76fe6c

Browse files
authored
chore: remove duplicate code (#11706)
Signed-off-by: Rudi Grinberg <[email protected]>
1 parent 414a35c commit e76fe6c

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/dune_engine/alias.ml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,6 @@ open Import
33
module Name = struct
44
include Dune_util.Alias_name
55

6-
let of_string s =
7-
match of_string_opt s with
8-
| Some s -> s
9-
| None -> Code_error.raise "invalid alias name" [ "s", Dyn.string s ]
10-
;;
11-
126
let default = of_string "default"
137

148
let parse_local_path (loc, p) =

0 commit comments

Comments
 (0)