Просмотр исходного кода

Fix doc rename struct to class (#2648)

Fix class declaration on the doc
Amr Hesham 3 лет назад
Родитель
Сommit
21c3f64564
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      docs/design/generics/appendix-coherence.md

+ 1 - 1
docs/design/generics/appendix-coherence.md

@@ -67,7 +67,7 @@ this:
 
     ```
     package Container;
-    struct HashSet(Key:! Hashable) { ... }
+    class HashSet(Key:! Hashable) { ... }
     ```
 
 -   A `Song` type is defined in package `SongLib`.