mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 22:02:23 +01:00
Mark fnty as __Fn to reflect experimental state (#928)
The `__Fn` naming is intended to mirror things like `__Continuation`. The reason for this path is because it's not clear this is the form we'll want, and I think experimental naming will help reflect that.
This commit is contained in:
+1
-1
@@ -16,6 +16,6 @@ fn add1(x: i32) -> i32 {
|
||||
}
|
||||
|
||||
fn main() -> i32 {
|
||||
var f: fnty(i32)->i32 = add1;
|
||||
var f: __Fn(i32)->i32 = add1;
|
||||
return f(-1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user