Skip to content

Commit

Permalink
Merge pull request #5939 from doterik/patch-1
Browse files Browse the repository at this point in the history
Typo in reasoning - ProcedureCanBeWrittenAsFunction
  • Loading branch information
retailcoder committed Jan 27, 2022
2 parents e701c16 + 2c0aca1 commit f9baa8c
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 f9baa8c

Please sign in to comment.