Skip to content

Commit

Permalink
doc: fix docstring typos (#2605)
Browse files Browse the repository at this point in the history
* lake: fix a typo in `get_config?` syntax doc
* fix a typo in `withImporting` doc
  • Loading branch information
DenisGorbachev authored Sep 30, 2023
1 parent 06e0577 commit e6292bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Lean/ImportingFlag.lean
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ the `initialize` command to update global references.
IMPORTANT: There is no semaphore controlling the access to these global references.
We assume these global references are updated by a single execution thread.
This is true in the Lean frontend where we process the `import` commands at the beginning
of the execution only. Users must make sure that `importModules` is used, there is only
of the execution only. Users must make sure that when `importModules` is used, there is only
one execution thread accessing the global references.
-/
def withImporting (x : IO α) : IO α :=
Expand Down
2 changes: 1 addition & 1 deletion src/lake/Lake/DSL/Config.lean
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def elabDirConst : TermElab := fun stx expectedType? => do

/--
A macro that expands to the specified configuration option (or `none`,
if not the option has not been set) during the Lakefile's elaboration.
if the option has not been set) during the Lakefile's elaboration.
Configuration arguments are set either via the Lake CLI (by the `-K` option)
or via the `with` clause in a `require` statement.
Expand Down

0 comments on commit e6292bc

Please sign in to comment.