Skip to content

Commit c78b312

Browse files
committed
Add some comments to kick AppVeyor again
1 parent ac9e31c commit c78b312

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/CommandLine/Text/TextWrapper.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,13 +155,18 @@ private static List<StringBuilder> AddWordToLastLineOrCreateNewLineIfNecessary(L
155155
}
156156

157157

158+
/// <summary>
159+
/// Return the right part of a string in a way that compensates for Substring's deficiencies
160+
/// </summary>
158161
private static string RightString(string str,int n)
159162
{
160163
return (n >= str.Length || str.Length==0)
161164
? string.Empty
162165
: str.Substring(n);
163166
}
164-
167+
/// <summary>
168+
/// Return the left part of a string in a way that compensates for Substring's deficiencies
169+
/// </summary>
165170
private static string LeftString(string str,int n)
166171
{
167172

0 commit comments

Comments
 (0)