aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Search
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2024-06-02 11:10:37 -0500
committerJP Dillingham <jp@dillingham.me>2024-06-02 11:10:37 -0500
commitbd6ed779fb1de4f1388b40bf819907291d78d367 (patch)
tree654d643a003a13107f1e72da121f9273726f2bdb /src/slskd/Search
parentd116c0edfb56ddc3483eefaeb8cf9dd97573775d (diff)
downloadslskd-bd6ed779fb1de4f1388b40bf819907291d78d367.tar.gz
fix typos
Diffstat (limited to 'src/slskd/Search')
-rw-r--r--src/slskd/Search/ISearchService.cs4
-rw-r--r--src/slskd/Search/SearchService.cs4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/slskd/Search/ISearchService.cs b/src/slskd/Search/ISearchService.cs
index 4fe15fae..097e23de 100644
--- a/src/slskd/Search/ISearchService.cs
+++ b/src/slskd/Search/ISearchService.cs
@@ -29,7 +29,7 @@ namespace slskd.Search
public interface ISearchService
{
/// <summary>
- /// Deletes the specified ssearch.
+ /// Deletes the specified search.
/// </summary>
/// <param name="search">The search to delete.</param>
/// <returns>The operation context.</returns>
@@ -65,7 +65,7 @@ namespace slskd.Search
/// Cancels the search matching the specified <paramref name="id"/>, if it is in progress.
/// </summary>
/// <param name="id">The unique identifier for the search.</param>
- /// <returns>A value indicating whether the search was sucessfully cancelled.</returns>
+ /// <returns>A value indicating whether the search was successfully cancelled.</returns>
bool TryCancel(Guid id);
}
} \ No newline at end of file
diff --git a/src/slskd/Search/SearchService.cs b/src/slskd/Search/SearchService.cs
index ccdd8c2d..3d2e2750 100644
--- a/src/slskd/Search/SearchService.cs
+++ b/src/slskd/Search/SearchService.cs
@@ -70,7 +70,7 @@ namespace slskd.Search
private IHubContext<SearchHub> SearchHub { get; set; }
/// <summary>
- /// Deletes the specified ssearch.
+ /// Deletes the specified search.
/// </summary>
/// <param name="search">The search to delete.</param>
/// <returns>The operation context.</returns>
@@ -245,7 +245,7 @@ namespace slskd.Search
/// Cancels the search matching the specified <paramref name="id"/>, if it is in progress.
/// </summary>
/// <param name="id">The unique identifier for the search.</param>
- /// <returns>A value indicating whether the search was sucessfully cancelled.</returns>
+ /// <returns>A value indicating whether the search was successfully cancelled.</returns>
public bool TryCancel(Guid id)
{
if (CancellationTokens.TryGetValue(id, out var cts))