Skip to content

Commit

Permalink
Simpler.
Browse files Browse the repository at this point in the history
  • Loading branch information
smimram committed Dec 13, 2023
1 parent e6520b4 commit 11749ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ Basic usage is

```ocaml
let () =
let filename = "test.mp3" in
let metadata = Metadata.parse_file filename in
let metadata = Metadata.parse_file "test.mp3" in
List.iter (fun (k,v) -> Printf.printf "- %s: %s\n" k v) metadata
```

Expand Down
3 changes: 1 addition & 2 deletions examples/basic.ml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
(** Basic usage of the library. *)

let () =
let filename = "test.mp3" in
let metadata = Metadata.parse_file filename in
let metadata = Metadata.parse_file "test.mp3" in
List.iter (fun (k,v) -> Printf.printf "- %s: %s\n" k v) metadata

0 comments on commit 11749ea

Please sign in to comment.