File tree Expand file tree Collapse file tree 8 files changed +8
-8
lines changed Expand file tree Collapse file tree 8 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -3,5 +3,5 @@ fn example_explicit_variable_types() -> Unit {
33 let a : Array [Int ] = []
44 println (a .length ())
55 let b : Int? = None
6- println (b . is_empty () )
6+ println (b is None )
77}
Original file line number Diff line number Diff line change @@ -3,5 +3,5 @@ fn example_annotated_collections() -> Unit {
33 let a = ([] : Array [Int ])
44 println (a .length ())
55 let b = (None : Int? )
6- println (b . is_empty () )
6+ println (b is None )
77}
Original file line number Diff line number Diff line change 11///|
2- test (ctx : @test .T ) {
2+ test (ctx : @test .Test ) {
33 let println = ctx .writeln (_ )
44 // start example
55 let a : StringView = "asdf"
Original file line number Diff line number Diff line change 11///|
2- test (ctx : @test .T ) {
2+ test (ctx : @test .Test ) {
33 let println = ctx .writeln (_ )
44 // start example
55 let a : StringView = "asdf"
Original file line number Diff line number Diff line change 11///|
2- test (ctx : @test .T ) {
2+ test (ctx : @test .Test ) {
33 let println = ctx .writeln (_ )
44 // start example
55 let count = 2
Original file line number Diff line number Diff line change 11///|
2- test (ctx : @test .T ) {
2+ test (ctx : @test .Test ) {
33 let println = ctx .writeln (_ )
44 // start example
55 let count = 2
Original file line number Diff line number Diff line change 11///|
2- test (ctx : @test .T ) {
2+ test (ctx : @test .Test ) {
33 let println = ctx .writeln (_ )
44 // start example
55 let count = 2
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ pub impl MyShow for MyType with to_string(self) {
1717 ...
1818}
1919
20- struct MyContainer [T ] {}
20+ struct MyContainer [_ ] {}
2121
2222// trait implementation with type parameters.
2323// `[X : Show]` means the type parameter `X` must implement `Show`,
You can’t perform that action at this time.
0 commit comments