diff --git a/src/Avalonia.Controls/Primitives/AccessText.cs b/src/Avalonia.Controls/Primitives/AccessText.cs
index 55f047b009..32a0efc440 100644
--- a/src/Avalonia.Controls/Primitives/AccessText.cs
+++ b/src/Avalonia.Controls/Primitives/AccessText.cs
@@ -78,12 +78,7 @@ namespace Avalonia.Controls.Primitives
}
}
- ///
- /// Creates the used to render the text.
- ///
- /// The constraint of the text.
- /// The text to generated the for.
- /// A object.
+ ///
protected override FormattedText CreateFormattedText(Size constraint, string text)
{
return base.CreateFormattedText(constraint, StripAccessKey(text));
diff --git a/src/Avalonia.Controls/TextBlock.cs b/src/Avalonia.Controls/TextBlock.cs
index 35600a213c..1fee309360 100644
--- a/src/Avalonia.Controls/TextBlock.cs
+++ b/src/Avalonia.Controls/TextBlock.cs
@@ -348,7 +348,7 @@ namespace Avalonia.Controls
/// Creates the used to render the text.
///
/// The constraint of the text.
- /// The text to generated the for.
+ /// The text to format.
/// A object.
protected virtual FormattedText CreateFormattedText(Size constraint, string text)
{