Skip to content

Commit 07883c1

Browse files
authored
Move into to preview in the language reference (scala#24704)
It's in preview since 3.8.0
1 parent 4247597 commit 07883c1

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed
Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,10 @@
22
layout: doc-page
33
title: The `into` Type and Modifier
44
redirectFrom: /docs/reference/other-new-features/into.html
5-
nightlyOf: https://docs.scala-lang.org/scala3/reference/experimental/into.html
5+
nightlyOf: https://docs.scala-lang.org/scala3/reference/preview/into.html
66
---
77

8-
This feature is not yet part of the Scala 3 language definition. It can be made available by a language import:
9-
10-
```scala
11-
import scala.language.experimental.into
12-
```
8+
This feature is available as a preview since Scala 3.8.0.
139

1410

1511
## Summary

docs/_docs/reference/preview/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ This flag enables the use of all preview language feature in the project.
2121

2222
## List of available preview features
2323

24-
Currently there are no available preview features.
24+
* [The `into` Type and Modifier](into.md)

docs/sidebar.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,8 @@ subsection:
141141
- title: Preview Features
142142
directory: preview
143143
index: reference/preview/overview.md
144+
subsection:
145+
- page: reference/preview/into.md
144146
- title: Experimental Features
145147
directory: experimental
146148
index: reference/experimental/overview.md
@@ -157,7 +159,6 @@ subsection:
157159
- page: reference/experimental/numeric-literals.md
158160
- page: reference/experimental/explicit-nulls.md
159161
- page: reference/experimental/main-annotation.md
160-
- page: reference/experimental/into.md
161162
- title: Capture Checking
162163
index: reference/experimental/capture-checking/cc.md
163164
subsection:

0 commit comments

Comments
 (0)