mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-11-09 19:40:48 -05:00
Fix typo
This commit is contained in:
parent
5ad5bba918
commit
b5e16e8d0b
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ pub fn main() void {
|
||||||
// Perhaps you remember the "narcissistic fix" for the type name
|
// Perhaps you remember the "narcissistic fix" for the type name
|
||||||
// in Ex. 065? We're going to do the same thing here: use a hard-
|
// in Ex. 065? We're going to do the same thing here: use a hard-
|
||||||
// coded slice to return the type name. That's just so our output
|
// coded slice to return the type name. That's just so our output
|
||||||
// look prettier. Indulge your vanity. Programmers are beautiful.
|
// looks prettier. Indulge your vanity. Programmers are beautiful.
|
||||||
fn stripFname(mytype: []const u8) []const u8 {
|
fn stripFname(mytype: []const u8) []const u8 {
|
||||||
return mytype[22..];
|
return mytype[22..];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue