diff options
| author | coqbot-app[bot] | 2021-01-22 09:36:39 +0000 |
|---|---|---|
| committer | GitHub | 2021-01-22 09:36:39 +0000 |
| commit | 7d5618684ef17fbb34246f041b3426d42825b85a (patch) | |
| tree | 24deae282c6a10518d3c3735919a896c499d60ec | |
| parent | 2f79b58cdbdeb3ff3446168ede042e063a6f6c99 (diff) | |
| parent | 56578a246e6b13d539fd6b0f54f7e06c641fd847 (diff) | |
Merge PR #13775: Improve wording for #13384 (Warn on hints without an explicit locality)
Reviewed-by: Zimmi48
| -rw-r--r-- | doc/sphinx/changes.rst | 10 | ||||
| -rw-r--r-- | doc/sphinx/proofs/automatic-tactics/auto.rst | 6 |
2 files changed, 8 insertions, 8 deletions
diff --git a/doc/sphinx/changes.rst b/doc/sphinx/changes.rst index d9e4e4f2b3..7db54987d6 100644 --- a/doc/sphinx/changes.rst +++ b/doc/sphinx/changes.rst @@ -531,11 +531,11 @@ Commands and options .. _813HintWarning: - **Deprecated:** - The default value for hint locality is currently :attr:`local` in a section and - :attr:`global` otherwise, but is scheduled to change in a future release. For the - time being, adding hints outside of sections without specifying an explicit - locality is therefore triggering a deprecation warning. It is recommended to - use :attr:`export` whenever possible + Hint locality currently defaults to :attr:`local` in a section and + :attr:`global` otherwise, but this will change in a future release. + Hints added outside of sections without an explicit + locality now generate a deprecation warning. We recommend + using :attr:`export` where possible (`#13384 <https://github.com/coq/coq/pull/13384>`_, by Pierre-Marie Pédrot). - **Deprecated:** diff --git a/doc/sphinx/proofs/automatic-tactics/auto.rst b/doc/sphinx/proofs/automatic-tactics/auto.rst index d2e88261ae..30f7be5f13 100644 --- a/doc/sphinx/proofs/automatic-tactics/auto.rst +++ b/doc/sphinx/proofs/automatic-tactics/auto.rst @@ -285,9 +285,9 @@ Creating Hints .. deprecated:: 8.13 The default value for hint locality will change in a future - release. For the time being, adding hints outside of sections without - specifying an explicit locality will trigger a deprecation - warning. We recommend you use :attr:`export` whenever possible. + release. Hints added outside of sections without an explicit + locality are now deprecated. We recommend using :attr:`export` + where possible. The `Hint` commands are: |
