Skip to content

Commit 7c77f7f

Browse files
authored
Fix typos (ocaml#3506)
* Fix typos (doc) Signed-off-by: Etienne Millon <[email protected]> * Fix typos (code) Signed-off-by: Etienne Millon <[email protected]> * Fix typos (tests) Signed-off-by: Etienne Millon <[email protected]>
1 parent 074fa11 commit 7c77f7f

File tree

43 files changed

+54
-53
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+54
-53
lines changed

bin/common.mli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ val display_term : Dune.Config.Display.t option Cmdliner.Term.t
6464

6565
val context_arg : doc:string -> Dune.Context_name.t Cmdliner.Term.t
6666

67-
(** A [--build-info] command line argument that print build informations
67+
(** A [--build-info] command line argument that print build information
6868
(included in [term]) *)
6969
val build_info : unit Cmdliner.Term.t
7070

bin/describe.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ end
102102
arguments of the command line to a list of atoms and we parse it using the
103103
regular [Dune_lang.Decoder].
104104
105-
This way we can reuse all the existing versionning, error reporting, etc...
105+
This way we can reuse all the existing versioning, error reporting, etc...
106106
machinery. This also allow to easily extend this to arbitrary complex phrases
107107
without hassle. *)
108108
module What = struct

bin/main.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ let run_build_command ~common ~targets =
2020
(* Synchronously wait for the end of the connection with the cache daemon,
2121
ensuring all dedup messages have been queued. *)
2222
Caching.Cache.teardown Caching.cache;
23-
(* Hande all remaining dedup mesages. *)
23+
(* Hande all remaining dedup messages. *)
2424
Scheduler.wait_for_dune_cache ()
2525
| None -> ()
2626

doc/concepts.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,7 @@ The following constructions are available:
663663
- ``(with-accepted-exit-codes <pred> <DSL>)`` specifies the list of expected exit codes
664664
for the programs executed in ``<DSL>``. ``<pred>`` is a predicate on integer
665665
values, and is specified using the :ref:`predicate-lang`. ``<DSL>`` can only
666-
contain nested occurences of ``run``, ``bash``, ``system``, ``chdir``,
666+
contain nested occurrences of ``run``, ``bash``, ``system``, ``chdir``,
667667
``setenv``, ``ignore-<outputs>``, ``with-stdin-from`` and
668668
``with-<outputs>-to``. This action is available since dune 2.0.
669669
- ``(progn <DSL>...)`` to execute several commands in sequence
@@ -1000,7 +1000,7 @@ recommended to use this method in new projects as we expect to deprecate it in
10001000
the future. The right way to define a package is with a ``package`` stanza in
10011001
the ``dune-project`` file.
10021002

1003-
See :ref:`opam-generation` for intructions on configuring dune to automatically
1003+
See :ref:`opam-generation` for instructions on configuring dune to automatically
10041004
generate ``.opam`` files based on the ``package`` stanzas.
10051005

10061006
Attaching elements to a package

doc/dune-files.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -767,7 +767,7 @@ is ``.dll``.
767767

768768
Up to version 3.0 of the dune language, when ``byte`` is specified but
769769
none of ``native``, ``exe`` or ``byte_complete`` are specified Dune
770-
implicitely adds a linking mode that is the same as ``byte_complete``
770+
implicitly adds a linking mode that is the same as ``byte_complete``
771771
but using the extension ``.exe``. ``.bc`` files require additional
772772
files at runtime that are not currently tracked by Dune, so you should
773773
not run ``.bc`` files during the build. Run the ``.bc.exe`` or

otherlibs/action-plugin/src/dune_action_plugin.mli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ module V1 : sig
4646
(** {1 Syntax sugar for applicative subset} *)
4747

4848
(** Syntax sugar for applicative subset of the interface. Syntax sugar for
49-
[stage] is not provided to prevent accidential use.*)
49+
[stage] is not provided to prevent accidental use.*)
5050
module O : sig
5151
(** {[ let+ a = g in h ]} is equivalent to {[ map g ~f:(fun a -> g) ]}. *)
5252
val ( let+ ) : 'a t -> ('a -> 'b) -> 'b t

plugin/jbuild_plugin.mli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module V1 : sig
66
(** Current build context *)
77
val context : string
88

9-
(** OCaml version for the current buid context. It might not be the same as
9+
(** OCaml version for the current build context. It might not be the same as
1010
[Sys.ocaml_version] *)
1111
val ocaml_version : string
1212

src/cache/local.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ let promote_sync cache paths key metadata ~repository ~duplication =
276276
this would have a non-negligible performance cost. A good compromise
277277
seems to be to add a "paranoid" mode to Dune cache where we always
278278
check file contents for consistency with the expected digest, so one
279-
could enable it when needed. In the paranoid mode, we could futhermore
279+
could enable it when needed. In the paranoid mode, we could furthermore
280280
check for a digest collision via [Io.compare_files in_the_cache tmp]. *)
281281
match Path.exists in_the_cache with
282282
| true ->

src/cache/local.mli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ include Cache
66
(** The default root directory of the local cache. *)
77
val default_root : unit -> Path.t
88

9-
(** A matadata file contains a list of [files] produced by a cached build rule,
9+
(** A metadata file contains a list of [files] produced by a cached build rule,
1010
along with some [metadata] that can be empty.
1111
1212
One example of what can be included in the [metadata] field is a git commit

src/dune/artifact_substitution.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ let buf = Bytes.create buf_len
307307
| |
308308
| |
309309
v |
310-
was the begining of a placeholder found by [Scanner.run]? |
310+
was the beginning of a placeholder found by [Scanner.run]? |
311311
(i.e. "%%DUNE_PLACEHOLDER:<len>:") |
312312
and if yes, is the whole placeholder currently in [buf]? |
313313
| | |

0 commit comments

Comments
 (0)