diff --git a/YamlDotNet/Core/Scanner.cs b/YamlDotNet/Core/Scanner.cs
index 267077f4..da0f58c5 100644
--- a/YamlDotNet/Core/Scanner.cs
+++ b/YamlDotNet/Core/Scanner.cs
@@ -117,8 +117,8 @@ public Token? Current
///
/// The input.
/// Indicates whether comments should be ignored
- public Scanner(TextReader input, bool skipComments = true):
- this(input, skipComments, 1024)
+ public Scanner(TextReader input, bool skipComments = true)
+ : this(input, skipComments, 1024)
{
}