Skip to content

Commit f4c5bfc

Browse files
kupolakemillon
andauthored
Correct spelling errors throughout the project (ocaml#9930)
Signed-off-by: Jakub Polak <[email protected]> Co-authored-by: Etienne Millon <[email protected]>
1 parent 95d0387 commit f4c5bfc

File tree

68 files changed

+94
-92
lines changed

Some content is hidden

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

68 files changed

+94
-92
lines changed

bin/describe/aliases_targets.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ module Targets_cmd = struct
123123
match Path.Build.equal (Path.Build.parent_exn path) dir with
124124
| false -> None
125125
| true ->
126-
(* directory targets can be distinguied by the trailing path seperator
126+
(* directory targets can be distinguied by the trailing path separator
127127
*)
128128
Some
129129
(match kind with

bin/describe/aliases_targets.mli

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ open Import
44

55
module Aliases_cmd : sig
66
(** The aliases command lists all the aliases available in the given
7-
directory, defaulting to the current working direcctory. *)
7+
directory, defaulting to the current working directory. *)
88
val command : unit Cmd.t
99
end
1010

1111
module Targets_cmd : sig
1212
(** The targets command lists all the targets available in the given
13-
directory, defaulting to the current working direcctory. *)
13+
directory, defaulting to the current working directory. *)
1414
val command : unit Cmd.t
1515
end

bin/describe/describe_lang_compat.mli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(** Dune describe commands used to take a --lang arugment that did nothing
1+
(** Dune describe commands used to take a --lang argument that did nothing
22
expect for dune describe workspace. To keep compatilbility with accepting
33
such an argument we provide a dummy argument here that can be used. It's
44
value will typically be ignored. *)

bin/ocaml/doc.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ let doc = "Build and view the documentation of an OCaml project"
66
let man =
77
[ `S "DESCRIPTION"
88
; `P
9-
{|$(b,dune ocaml doc) builds and then opens the documention of an OCaml project in the users default browser.|}
9+
{|$(b,dune ocaml doc) builds and then opens the documentation of an OCaml project in the users default browser.|}
1010
; `Blocks Common.help_secs
1111
]
1212
;;

bin/pkg/pkg_common.mli

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ module Lock_dirs_arg : sig
5656
[Lock_dirs_arg.lock_dirs_of_workspace].
5757
5858
There are two mutually exclusive cases:
59-
- The user passed a list of lick directories as positonal
59+
- The user passed a list of lick directories as positional
6060
arguments.contents
6161
- The user passed the ["--all"] flag, in which case all lock directories
6262
of the workspace are considered. *)
@@ -73,6 +73,6 @@ module Lock_dirs_arg : sig
7373
val lock_dirs_of_workspace : t -> Workspace.t -> Path.Source.t list
7474
end
7575

76-
(** [pp_packages lock_dir] returns a list of pretty-printed packages occuring in
76+
(** [pp_packages lock_dir] returns a list of pretty-printed packages occurring in
7777
[lock_dir]. *)
7878
val pp_packages : Dune_pkg.Lock_dir.Pkg.t list -> 'a Pp.t

bin/rpc/rpc_common.mli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ val active_server : unit -> Dune_rpc_private.Where.t
44
(** Raise an RPC response error. *)
55
val raise_rpc_error : Dune_rpc_private.Response.Error.t -> 'a
66

7-
(** Make a request and raise an exception if the preperation for the request
7+
(** Make a request and raise an exception if the preparation for the request
88
fails in any way. Returns an [Error] if the response errors. *)
99
val request_exn
1010
: Dune_rpc_client.Client.t

bin/rpc/status.mli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
(** dune rpc status comamnd *)
1+
(** dune rpc status command *)
22
val cmd : unit Cmdliner.Cmd.t

doc/coq.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ The semantics of the fields are:
116116

117117
- ``<coqdoc_flags>`` are extra user-configurable flags passed to ``coqdoc``. The
118118
default value for ``:standard`` is ``--toc``. The ``--html`` or ``--latex``
119-
flags are passed separately depending on which mode is targed. See the section
119+
flags are passed separately depending on which mode is target. See the section
120120
on :ref:`documentation using coqdoc<coqdoc>` for more information.
121121

122122
- ``<stdlib_included>`` can either be ``yes`` or ``no``, currently defaulting to

doc/dev/rev-store.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ The Concepts
88
------------
99

1010
The revision store uses Git in the way of its original slogan, as a
11-
content-adressable file system. A lot of data (code) and meta-data (opam files)
11+
content-addressable file system. A lot of data (code) and meta-data (opam files)
1212
is stored in Git repositories that are often forked from each other, hence to
1313
save space Dune has a Git object cache.
1414

@@ -47,7 +47,7 @@ background. The store should always work like a cache that can be discarded
4747
safely without causing data loss.
4848

4949
The revision store should always give out the most recent version of data,
50-
unless explicitely instructed otherwise. This means that :
50+
unless explicitly instructed otherwise. This means that :
5151

5252
* If only a Git source is specified, then the revision store will
5353
automatically get the newest revision
@@ -68,7 +68,7 @@ Support for other kinds of VCSes is a possible extension by replicating similar
6868
concepts with other version control systems, provided they allow for similar
6969
flexibility as the Git way of storing revisions. However at the moment most
7070
users have settled on using Git, hence this version should be able to
71-
accomodate the needs for most users.
71+
accommodate the needs for most users.
7272

7373
Another compromise is that old repositories with long histories and large sizes
7474
have to be cloned before use, thus increasing the size of the initial download
@@ -97,7 +97,7 @@ one particular revision would be a waste of disk space as the Git tooling can
9797
be used to construct any revisions out of the bare repository anyway.
9898

9999
Thus every source that is added to the revision store as a remote that tracks
100-
the default branch (or, if a branch is specified explicitely, then that
100+
the default branch (or, if a branch is specified explicitly, then that
101101
branch) and fetched, thus storing the required revisions in the revision store.
102102

103103
The implementation of these features is a mix of calling the `git` binary and

doc/dev/rule-production.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ As we work on Dune, we expect that `dune_engine` will become more and
2222
more agnostic. Even though it is not completely agnostic, we have
2323
successfully been using it to build Jane Street code base, using the
2424
Jane Street rules on top of this core. So it's already more general
25-
than Dune iself.
25+
than Dune itself.
2626

2727
For the purpose of this design doc, we will treat `dune_engine` as a
2828
completely general library that doesn't know about `dune` files.

0 commit comments

Comments
 (0)