doc: fix docstring typos (#2605)
* lake: fix a typo in `get_config?` syntax doc * fix a typo in `withImporting` doc
This commit is contained in:
parent
06e057758e
commit
e6292bc0b8
2 changed files with 2 additions and 2 deletions
|
|
@ -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 α :=
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue