mirror of
https://codeberg.org/ziglings/exercises.git
synced 2024-12-26 01:20:30 +00:00
Reseted the simplification for de-referencing.
This commit is contained in:
parent
2e5b570aef
commit
7f1df86938
3 changed files with 4 additions and 4 deletions
|
@ -89,7 +89,7 @@ that if you update one, you may need to also update the other.
|
|||
### Version Changes
|
||||
|
||||
Version-0.14.0-dev.1224
|
||||
* *2024-07-02* zig 0.14.0-dev.1409 - several changes in std.builtin, see [#21225](https://github.com/ziglang/zig/pull/21225)
|
||||
* *2024-09-02* zig 0.14.0-dev.1409 - several changes in std.builtin, see [#21225](https://github.com/ziglang/zig/pull/21225)
|
||||
* *2024-08-04* zig 0.14.0-dev.1224 - several changes in build system, see [#21115](https://github.com/ziglang/zig/pull/21115)
|
||||
* *2024-08-04* zig 0.14.0-dev.839 - several changes in build system, see [#20580](https://github.com/ziglang/zig/pull/20580), [#20600](https://github.com/ziglang/zig/issues/20600)
|
||||
* *2024-06-17* zig 0.14.0-dev.42 - changes in `std.mem.split and tokenize` - see [#15579](https://github.com/ziglang/zig/pull/15579)
|
||||
|
|
|
@ -48,7 +48,7 @@ pub fn main() void {
|
|||
// If e1 and e2 are valid pointers to elephants,
|
||||
// this function links the elephants so that e1's tail "points" to e2.
|
||||
fn linkElephants(e1: ?*Elephant, e2: ?*Elephant) void {
|
||||
e1.?.tail = e2;
|
||||
e1.?.*.tail = e2.?;
|
||||
}
|
||||
|
||||
// This function visits all elephants once, starting with the
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- exercises/046_optionals2.zig 2024-06-23 19:43:16
|
||||
+++ answers/046_optionals2.zig 2024-06-23 19:42:46
|
||||
--- exercises/046_optionals2.zig 2024-09-04 20:51:36.766783971 +0200
|
||||
+++ answers/046_optionals2.zig 2024-09-04 20:51:01.389400985 +0200
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
const Elephant = struct {
|
||||
|
|
Loading…
Reference in a new issue