File tree 1 file changed +3
-13
lines changed
1 file changed +3
-13
lines changed Original file line number Diff line number Diff line change 11
11
< meta charset ="UTF-8 "/>
12
12
< meta name ="viewport " content ="width=device-width, initial-scale=1 "/>
13
13
14
- < title > Clippy's lint list </ title >
14
+ < title > Clippy Lints </ title >
15
15
16
16
< link rel ="stylesheet " href ="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.6/css/bootstrap.min.css "/>
17
17
< link rel ="stylesheet " href ="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.5.0/styles/github.min.css "/>
246
246
247
247
< div class ="container " ng-app ="clippy " ng-controller ="lintList ">
248
248
< div class ="page-header ">
249
- < h1 > Clippy's lint list </ h1 >
249
+ < h1 > Clippy Lints </ h1 >
250
250
</ div >
251
251
252
252
< noscript >
@@ -495,18 +495,8 @@ <h2 class="panel-title">
495
495
// Get data
496
496
$scope . open = { } ;
497
497
$scope . loading = true ;
498
- // This will be used to jump into the source code of the version that this
499
- // documentation is for. The version will be queried from the path as this
500
- // works for all doc versions (master, beta, rust-1.52.0) with the exception
501
- // of "stable" asa this is neither a tag or branch in our repo.
502
- //
503
- // The dirty hack is to link against beta in that case as that is the closes
504
- // known branch to the current stable version. (The version would need to be
505
- // queried)
498
+ // This will be used to jump into the source code of the version that this documentation is for.
506
499
$scope . docVersion = window . location . pathname . split ( '/' ) [ 2 ] ;
507
- if ( $scope . docVersion === "stable" ) {
508
- $scope . docVersion = "beta" ;
509
- }
510
500
511
501
if ( window . location . hash . length > 1 ) {
512
502
$scope . search = window . location . hash . slice ( 1 ) ;
You can’t perform that action at this time.
0 commit comments