You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/release_notes.md
+44
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,50 @@ Fe is moving fast. Read up on all the latest improvements.
10
10
**WARNING: All Fe releases are alpha releases and only meant to share the development progress with developers and enthusiasts. It is NOT yet ready for production usage.**
11
11
12
12
[//]: #(towncrier release notes start)
13
+
## 0.21.0-alpha (2023-02-28)
14
+
15
+
16
+
### Features
17
+
18
+
19
+
- Support for `Self` type
20
+
21
+
With this change `Self` (with capital `S`) can be used to refer
22
+
to the enclosing type in contracts, structs, impls and traits.
23
+
24
+
E.g.
25
+
26
+
```
27
+
trait Min {
28
+
fn min() -> Self;
29
+
}
30
+
31
+
impl Min for u8 {
32
+
fn min() -> u8 { // Both `u8` or `Self` are valid here
0 commit comments