diff --git a/modules/@angular/router/src/router.ts b/modules/@angular/router/src/router.ts index 6ecd69e274..6adcc44aad 100644 --- a/modules/@angular/router/src/router.ts +++ b/modules/@angular/router/src/router.ts @@ -222,8 +222,8 @@ export class Router { * // you can collapse static segments like this (this works only with the first passed-in value): * router.createUrlTree(['/team/33/user', userId]); * - * If the first segment can contain slashes, and you do not want the router to split it, you - * can do the following: + * // If the first segment can contain slashes, and you do not want the router to split it, you + * // can do the following: * * router.createUrlTree([{segmentPath: '/one/two'}]); *