1
0
Fork 0
mirror of https://github.com/ratfactor/ziglings synced 2024-05-05 01:56:03 +02:00
This commit is contained in:
Jo Burgard 2023-03-14 13:35:20 +01:00 committed by GitHub
parent c12d6c8507
commit 1de824b6a5
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,7 +78,7 @@ pub fn main() void {
// 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-
// 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 {
return mytype[22..];
}