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 {
217
217
self . 0 . push ( value) ;
218
218
}
219
219
220
- /// 配列末尾の項目を削除して返します 。配列が空の場合はエラーになります。
220
+ /// 配列末尾の要素を削除して返します 。配列が空の場合はエラーになります。
221
221
#[ func]
222
222
pub fn pop ( & mut self ) -> StrResult < Value > {
223
223
self . 0 . pop ( ) . ok_or_else ( array_is_empty)
@@ -296,7 +296,7 @@ impl Array {
296
296
self . contains_impl ( & value, & mut ( engine, span) )
297
297
}
298
298
299
- /// 指定した関数が`{true}`を返す項目を検索し、最初に見つかった項目を返します 。
299
+ /// 指定した関数が`{true}`を返す要素を検索し、最初に見つかった要素を返します 。
300
300
/// 一致するものがなければ`{none}`を返します。
301
301
#[ func]
302
302
pub fn find (
@@ -318,7 +318,7 @@ impl Array {
318
318
Ok ( None )
319
319
}
320
320
321
- /// 指定した関数が`{true}`を返す項目を検索し、最初に見つかった項目の
321
+ /// 指定した関数が`{true}`を返す要素を検索し、最初に見つかった要素の
322
322
/// インデックスを返します。一致するものがなければ`{none}`を返します。
323
323
#[ func]
324
324
pub fn position (
You can’t perform that action at this time.
0 commit comments