Skip to content

Commit

Permalink
fix typo (#834)
Browse files Browse the repository at this point in the history
  • Loading branch information
sy-records authored Jan 5, 2024
1 parent bc7c7a3 commit 2998456
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions language/enumerations.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 16b11ae4604f3c38f9011c46137ddcbf9238154b Maintainer: daijie Status: ready -->
<!-- EN-Revision: 38ce6211e1da2f62833f8961511f3c980ea9093b Maintainer: daijie Status: ready -->
<!-- CREDITS: Luffy, mowangjuanzi -->
<chapter xml:id="language.enumerations" xmlns="http://docbook.org/ns/docbook">
<title>枚举</title>
Expand Down Expand Up @@ -452,7 +452,7 @@ enum Size
</programlisting>

<para>
仅管 enum 可以包括 public、private、protected 的静态方法,
虽然 enum 可以包括 public、private、protected 的静态方法,
但由于它不支持继承,因此在实践中 private 和 protected 效果是相同的。
</para>

Expand All @@ -462,7 +462,7 @@ enum Size
<title>枚举常量</title>

<para>
仅管 enum 可以包括 public、private、protected 的常量,
虽然 enum 可以包括 public、private、protected 的常量,
但由于它不支持继承,因此在实践中 private 和 protected 效果是相同的。
</para>

Expand Down

0 comments on commit 2998456

Please sign in to comment.