From 2431eda6f50dab5a61f8280ac7a99cda14215c58 Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Sun, 25 Feb 2024 15:58:21 +0000 Subject: [PATCH] refactor: remove unused out var --- OliverBooth/Pages/Shared/_Layout.cshtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OliverBooth/Pages/Shared/_Layout.cshtml b/OliverBooth/Pages/Shared/_Layout.cshtml index 7d9c40b..fb35406 100644 --- a/OliverBooth/Pages/Shared/_Layout.cshtml +++ b/OliverBooth/Pages/Shared/_Layout.cshtml @@ -31,7 +31,7 @@ } @if (ViewData["Post"] is IBlogPost post) { - string excerpt = BlogPostService.RenderExcerpt(post, out bool trimmed); + string excerpt = BlogPostService.RenderExcerpt(post, out _);