We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e220b87 commit ab634d2Copy full SHA for ab634d2
1 file changed
Mathlib/Geometry/Manifold/Notation.lean
@@ -810,7 +810,8 @@ end Elab
810
-- TODO: is there a better location for this?
811
open Doc in
812
/-- Writing `{insertDocstringOf foo}` inside a verso doc-string inserts the doc-string of
813
-declaration `foo` (if there is one) in the current environment, as a separate paragraph.
+declaration `foo` in the current environment, as a separate paragraph.
814
+If `foo` does not exist or has no doc-string, it throws an error.
815
-/
816
@[doc_command] meta def _root_.insertDocstringOf (n : Ident) :
817
DocM <| Block ElabInline ElabBlock := do
0 commit comments