File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
crates/typst-library/src/foundations Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -217,7 +217,7 @@ impl Array {
217217 self . 0 . push ( value) ;
218218 }
219219
220- /// 配列末尾の項目を削除して返します 。配列が空の場合はエラーになります。
220+ /// 配列末尾の要素を削除して返します 。配列が空の場合はエラーになります。
221221 #[ func]
222222 pub fn pop ( & mut self ) -> StrResult < Value > {
223223 self . 0 . pop ( ) . ok_or_else ( array_is_empty)
@@ -296,7 +296,7 @@ impl Array {
296296 self . contains_impl ( & value, & mut ( engine, span) )
297297 }
298298
299- /// 指定した関数が`{true}`を返す項目を検索し、最初に見つかった項目を返します 。
299+ /// 指定した関数が`{true}`を返す要素を検索し、最初に見つかった要素を返します 。
300300 /// 一致するものがなければ`{none}`を返します。
301301 #[ func]
302302 pub fn find (
@@ -318,7 +318,7 @@ impl Array {
318318 Ok ( None )
319319 }
320320
321- /// 指定した関数が`{true}`を返す項目を検索し、最初に見つかった項目の
321+ /// 指定した関数が`{true}`を返す要素を検索し、最初に見つかった要素の
322322 /// インデックスを返します。一致するものがなければ`{none}`を返します。
323323 #[ func]
324324 pub fn position (
You can’t perform that action at this time.
0 commit comments