From 3c848945aaf7a0ad8786bd81952a6ce2929c1676 Mon Sep 17 00:00:00 2001 From: MarcUs7i <96580944+MarcUs7i@users.noreply.github.com> Date: Fri, 6 Dec 2024 07:41:03 +0100 Subject: [PATCH] Removed unprofessional comment What was I even thinking? --- Marathons/Marathon.cs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Marathons/Marathon.cs b/Marathons/Marathon.cs index 99780d9..b298e78 100644 --- a/Marathons/Marathon.cs +++ b/Marathons/Marathon.cs @@ -98,11 +98,7 @@ public sealed class Marathon } //check if the participant is the first or last - int result = _head.Data?.CompareTo(participant) ?? 0; // why ?? are you confused? you sure its not null?? - // haha, you sure?? - // I'm sure, I'm sure - // haha, okay, I trust you - // ok, i should stop talking to co-pilot now + int result = _head.Data?.CompareTo(participant) ?? 0; // If the participant is the first or can be placed before the first if (result <= 0) {