WIP Apply nullability

This commit is contained in:
2024-12-01 18:42:43 +01:00
parent dafd2526d1
commit 7bd1471df6
25 changed files with 52 additions and 44 deletions

View File

@@ -509,7 +509,7 @@ public class Day15 : IDay
.ThenBy(e => e.X);
}
private Entity GetBestInRangeTarget(Entity entity, IEnumerable<Entity> targets)
private Entity? GetBestInRangeTarget(Entity entity, IEnumerable<Entity> targets)
{
return targets
.Where(entity.InRangeOf)