Skip to content

Commit 247dca5

Browse files
authored
apply textlint suggestion (#89)
Signed-off-by: Shunsuke Kimura <[email protected]>
1 parent b565060 commit 247dca5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

crates/typst/src/model/figure.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ pub struct FigureElem {
158158
/// - コンテンツに関わらず特定のカウンターを強制的に使用したい場合
159159
///
160160
/// 種類は、エレメント関数または文字列に設定できます。
161-
/// [`{table}`]($table)、[`{raw}`](raw)、[`{image}`](image)以外のエレメント関数に設定した場合は、図表の補足(supplement)を手動で指定する必要があります。
161+
/// [`{table}`]($table)、[`{raw}`](raw)、[`{image}`](image)以外のエレメント関数に設定した場合は、図表の補足supplementを手動で指定する必要があります。
162162
///
163163
/// ```example
164164
/// #figure(

crates/typst/src/visualize/image/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ pub struct ImageElem {
7373

7474
/// 画像のフォーマット。デフォルトでは自動的に検出されます。
7575
///
76-
/// サポートされている拡張子は PNG, JPEG, GIF, SVGです。
76+
/// サポートされている拡張子はPNG, JPEG, GIF, SVGです。
7777
/// [PDFの画像はまだサポートされていません。](https://github.com/typst/typst/issues/145)
7878
pub format: Smart<ImageFormat>,
7979

@@ -118,7 +118,7 @@ impl ImageElem {
118118
pub fn decode(
119119
/// The call span of this function.
120120
span: Span,
121-
/// 画像としてデコードするデータ。SVG の場合は文字列です
121+
/// 画像としてデコードするデータ。SVGの場合は文字列です
122122
data: Readable,
123123
/// 画像のフォーマット。デフォルトでは自動的に検出されます。
124124
#[named]

0 commit comments

Comments
 (0)