No unused fn params

This commit is contained in:
Dave Gauer 2021-06-30 19:59:25 -04:00
parent 88c550062d
commit 613d77b7f8
2 changed files with 2 additions and 0 deletions

View File

@ -43,5 +43,6 @@ pub fn main() void {
fn getPageTitle(url: []const u8) []const u8 {
// Please PRETEND this is actually making a network request.
_ = url;
return "Example Title.";
}

View File

@ -49,5 +49,6 @@ pub fn main() void {
fn getPageTitle(url: []const u8) []const u8 {
// Please PRETEND this is actually making a network request.
_ = url;
return "Example Title";
}