Update docs.
This commit is contained in:
@@ -11,7 +11,7 @@ impl TestStruct {
|
||||
}
|
||||
|
||||
fn new() -> Self {
|
||||
TestStruct { x: 1 }
|
||||
Self { x: 1 }
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -11,7 +11,7 @@ impl TestStruct {
|
||||
}
|
||||
|
||||
fn new() -> Self {
|
||||
TestStruct { x: 1 }
|
||||
Self { x: 1 }
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user