From bd6ed779fb1de4f1388b40bf819907291d78d367 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sun, 2 Jun 2024 11:10:37 -0500 Subject: fix typos --- src/slskd/Common/CommonExtensions.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/slskd/Common/CommonExtensions.cs') diff --git a/src/slskd/Common/CommonExtensions.cs b/src/slskd/Common/CommonExtensions.cs index 6a472b9b..a68ce2f2 100644 --- a/src/slskd/Common/CommonExtensions.cs +++ b/src/slskd/Common/CommonExtensions.cs @@ -209,7 +209,7 @@ namespace slskd } /// - /// Replaces the first occurance of in the string with . + /// Replaces the first occurrence of in the string with . /// /// The string on which to perform the replacement. /// The phrase or substring to replace. @@ -307,7 +307,7 @@ namespace slskd /// /// The type to which to deserialize the string. /// The string to deserialize. - /// The new object deserialzied from the string. + /// The new object deserialized from the string. public static T FromYaml(this string str) => new DeserializerBuilder() .WithNamingConvention(UnderscoredNamingConvention.Instance) .Build() @@ -401,7 +401,7 @@ namespace slskd } /// - /// Replaces any occurance of an invalid filename character with the specified . + /// Replaces any occurrence of an invalid filename character with the specified . /// /// The path to sanitize. /// The character with which to replace invalid characters. @@ -451,7 +451,7 @@ namespace slskd /// /// The type to which to deserialize the string. /// The string to deserialize. - /// The new object deserialzied from the string. + /// The new object deserialized from the string. public static T FromJson(this string str) => JsonSerializer.Deserialize(str, GetJsonSerializerOptions()); private static JsonSerializerOptions GetJsonSerializerOptions() -- cgit v1.2.3