Skip to content

Commit

Permalink
Typo in reasoning - ProcedureCanBeWrittenAsFunction
Browse files Browse the repository at this point in the history
Nothing big, but I think this sounds better...
  • Loading branch information
doterik committed Jan 24, 2022
1 parent e701c16 commit 2c0aca1
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -13,8 +13,8 @@ namespace Rubberduck.CodeAnalysis.Inspections.Concrete
/// Warns about 'Sub' procedures that could be refactored into a 'Function'.
/// </summary>
/// <why>
/// Idiomatic VB code uses 'Function' procedures to return a single value. If the procedure isn't side-effecting, consider writing is as a
/// 'Function' rather than a 'Sub' the returns a result through a 'ByRef' parameter.
/// Idiomatic VB code uses 'Function' procedures to return a single value. If the procedure isn't side-effecting, consider writing it as a
/// 'Function' rather than a 'Sub' that returns a result through a 'ByRef' parameter.
/// </why>
/// <example hasResult="true">
/// <module name="MyModule" type="Standard Module">
Expand Down

0 comments on commit 2c0aca1

Please sign in to comment.