Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Sep 12, 2024
1 parent 1b4c85a commit 27fe680
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 6 deletions.
3 changes: 1 addition & 2 deletions src/Consume/Consume.cs
Original file line number Diff line number Diff line change
Expand Up @@ -333,8 +333,7 @@ void ReadOnlySpan_Methods()
{
}

bool result;
result = readOnlySpan.EndsWith("value");
var result = readOnlySpan.EndsWith("value");
result = readOnlySpan.EndsWith("value", StringComparison.Ordinal);
result = readOnlySpan.SequenceEqual("value");
result = readOnlySpan.StartsWith("value");
Expand Down
2 changes: 0 additions & 2 deletions src/Polyfill/Polyfill_Memory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@

namespace Polyfills;
using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
using Link = System.ComponentModel.DescriptionAttribute;

static partial class Polyfill
Expand Down
1 change: 0 additions & 1 deletion src/Polyfill/Polyfill_StringBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ namespace Polyfills;
using System.IO;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Text;
using Link = System.ComponentModel.DescriptionAttribute;

Expand Down
1 change: 0 additions & 1 deletion src/Polyfill/Polyfill_Task.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

namespace Polyfills;
using System;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using Link = System.ComponentModel.DescriptionAttribute;
Expand Down

0 comments on commit 27fe680

Please sign in to comment.