Skip to content

Commit 43ca7f6

Browse files
committed
Change format
1 parent 41a9144 commit 43ca7f6

6 files changed

+6
-6
lines changed

compiler-core/src/docs/printer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ impl Printer<'_> {
480480

481481
// Internal types don't get linked
482482
if !publicity.is_public() {
483-
return docvec![self.comment("@internal.".to_doc()), self.title(name)];
483+
return docvec![self.comment("@internal ".to_doc()), self.title(name)];
484484
}
485485

486486
// Linking to a type within the same page

compiler-core/src/docs/snapshots/gleam_core__docs__tests__internal_type_reexport_in_different_module.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ pub type External =
2020

2121
--- External
2222
<pre><code>pub type External =
23-
@internal.Internal</code></pre>
23+
@internal Internal</code></pre>

compiler-core/src/docs/snapshots/gleam_core__docs__tests__internal_type_reexport_in_same_module.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ pub type External =
1818

1919
--- External
2020
<pre><code>pub type External =
21-
@internal.Internal</code></pre>
21+
@internal Internal</code></pre>

compiler-core/src/docs/snapshots/gleam_core__docs__tests__internal_type_reexport_in_same_module_as_parameter.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ pub type External =
1818

1919
--- External
2020
<pre><code>pub type External =
21-
List(@internal.Internal)</code></pre>
21+
List(@internal Internal)</code></pre>

compiler-core/src/docs/snapshots/gleam_core__docs__tests__internal_type_reexport_in_same_module_as_parameter_colours.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ pub type External =
1818

1919
--- External
2020
<pre><code><span class="hljs-keyword">pub type </span><span class="hljs-title">External</span> =
21-
<span class="hljs-title">List</span>(<span class="hljs-comment">@internal.</span><span class="hljs-title">Internal</span>)</code></pre>
21+
<span class="hljs-title">List</span>(<span class="hljs-comment">@internal </span><span class="hljs-title">Internal</span>)</code></pre>

compiler-core/src/docs/snapshots/gleam_core__docs__tests__public_type_reexport_in_different_internal_module.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ pub type External =
2020

2121
--- External
2222
<pre><code>pub type External =
23-
@internal.Internal</code></pre>
23+
@internal Internal</code></pre>

0 commit comments

Comments
 (0)