Skip to content

Commit f9baa8c

Browse files
authored
Merge pull request #5939 from doterik/patch-1
Typo in reasoning - ProcedureCanBeWrittenAsFunction
2 parents e701c16 + 2c0aca1 commit f9baa8c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Rubberduck.CodeAnalysis/Inspections/Concrete/ProcedureCanBeWrittenAsFunctionInspection.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ namespace Rubberduck.CodeAnalysis.Inspections.Concrete
1313
/// Warns about 'Sub' procedures that could be refactored into a 'Function'.
1414
/// </summary>
1515
/// <why>
16-
/// Idiomatic VB code uses 'Function' procedures to return a single value. If the procedure isn't side-effecting, consider writing is as a
17-
/// 'Function' rather than a 'Sub' the returns a result through a 'ByRef' parameter.
16+
/// Idiomatic VB code uses 'Function' procedures to return a single value. If the procedure isn't side-effecting, consider writing it as a
17+
/// 'Function' rather than a 'Sub' that returns a result through a 'ByRef' parameter.
1818
/// </why>
1919
/// <example hasResult="true">
2020
/// <module name="MyModule" type="Standard Module">

0 commit comments

Comments
 (0)