Ver Fonte

Fix Markdown (#2208)

`explicit parameter` to have its closing rendered correctly.

Change all html-like(still supported though) notations into the Markdown style.
micttyl há 3 anos atrás
pai
commit
dc4e968373
1 ficheiros alterados com 6 adições e 6 exclusões
  1. 6 6
      docs/design/generics/terminology.md

+ 6 - 6
docs/design/generics/terminology.md

@@ -74,11 +74,11 @@ parameter by parameter basis. A single function can take a mix of regular,
 generic, and template parameters.
 
 -   **Regular parameters**, or "dynamic parameters", are designated using the
-    "<name>`:` <type>" syntax (or "<value>").
+    "\<name>`:` \<type>" syntax (or "\<value>").
 -   **Generic parameters** are designated using `:!` between the name and the
-    type (so it is "&lt;name>`:!` &lt;type>").
--   **Template parameters** are designated using "`template` &lt;name>`:!`
-    &lt;type>".
+    type (so it is "\<name>`:!` \<type>").
+-   **Template parameters** are designated using "`template` \<name>`:!`
+    \<type>".
 
 The syntax for generic and template parameters was decided in
 [questions-for-leads issue #565](https://github.com/carbon-language/carbon-lang/issues/565).
@@ -270,8 +270,8 @@ complete definition checking. This occurs for
 A deduced parameter is listed in the optional `[` `]` section right after the
 function name in a function signature:
 
-`fn` &lt;name> `[` &lt;deduced parameters> `](` &lt;explicit parameters `) ->`
-&lt;return type>
+`fn` \<name> `[` \<deduced parameters> `](` \<explicit parameters> `) ->`
+\<return type>
 
 Deduced arguments are determined as a result of pattern matching the explicit
 argument values (usually the types of those values) to the explicit parameters.