mirror of
https://codeberg.org/ziglings/exercises.git
synced 2026-07-28 18:25:16 +00:00
fix style mismatch on patches/065_builtins2.zig
Rename `fetchTheMostBeautifulType` to `FetchTheMostBeautifulType` to follow Zig's standard naming practice.
This commit is contained in:
@@ -13,8 +13,8 @@
|
|||||||
//
|
//
|
||||||
// The fix for this is very subtle, but it makes a big
|
// The fix for this is very subtle, but it makes a big
|
||||||
// difference!
|
// difference!
|
||||||
- const Type2 = narcissus.fetchTheMostBeautifulType();
|
- const Type2 = narcissus.FetchTheMostBeautifulType();
|
||||||
+ const Type2 = Narcissus.fetchTheMostBeautifulType();
|
+ const Type2 = Narcissus.FetchTheMostBeautifulType();
|
||||||
|
|
||||||
// Now we print a pithy statement about Narcissus.
|
// Now we print a pithy statement about Narcissus.
|
||||||
print("A {s} loves all {s}es. ", .{
|
print("A {s} loves all {s}es. ", .{
|
||||||
|
|||||||
Reference in New Issue
Block a user