aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Common
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2022-10-12 08:36:24 -0500
committerJP Dillingham <jp@dillingham.me>2022-10-12 08:36:24 -0500
commit2972827f496202a6355b9be0437e323bd739aa4e (patch)
treeb6fa8306b4ee483f6f3aa26bd8e612a47f67afd1 /src/slskd/Common
parent1f25a5c3cb1a8a212d13292beec7124966606a63 (diff)
downloadslskd-2972827f496202a6355b9be0437e323bd739aa4e.tar.gz
fix warnings
Diffstat (limited to 'src/slskd/Common')
-rw-r--r--src/slskd/Common/ChannelReader.cs2
-rw-r--r--src/slskd/Common/CommonExtensions.cs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/slskd/Common/ChannelReader.cs b/src/slskd/Common/ChannelReader.cs
index 49ebf0cf..a5386715 100644
--- a/src/slskd/Common/ChannelReader.cs
+++ b/src/slskd/Common/ChannelReader.cs
@@ -50,7 +50,7 @@ namespace slskd.Shares
public class ChannelReader<T> : IChannelReader
{
/// <summary>
- /// Initializes a new instance of the <see cref="ChannelReader"/> class.
+ /// Initializes a new instance of the <see cref="ChannelReader{T}"/> class.
/// </summary>
/// <param name="channel">The channel from which the reader will read.</param>
/// <param name="handler">An <see cref="Action"/> to be invoked for each item read from the channel.</param>
diff --git a/src/slskd/Common/CommonExtensions.cs b/src/slskd/Common/CommonExtensions.cs
index 0998d44d..8fb1fd25 100644
--- a/src/slskd/Common/CommonExtensions.cs
+++ b/src/slskd/Common/CommonExtensions.cs
@@ -367,7 +367,7 @@ namespace slskd
/// </summary>
/// <typeparam name="T">The Enum type to which to cast.</typeparam>
/// <param name="str">The string to cast.</param>
- /// <returns>The cast enum</returns>
+ /// <returns>The cast enum.</returns>
public static T ToEnum<T>(this string str)
{
return (T)Enum.Parse(typeof(T), str, ignoreCase: true);