File tree Expand file tree Collapse file tree 5 files changed +14
-8
lines changed Expand file tree Collapse file tree 5 files changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ refs/heads/try: 457a3c991d79b971be07fce75f9d0c12848fb37c
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
8
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
9
- refs/heads/dist-snap: e7db11c90b1a7f1f5ebae00785931dbfb4f35fbf
9
+ refs/heads/dist-snap: d4d608fabda8f39f319ebefd9aebf4ceb7c1bbf4
10
10
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
11
11
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
12
12
refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
Original file line number Diff line number Diff line change @@ -16,7 +16,8 @@ please do two things:
16
16
17
17
2 . Run the full Rust test suite with the ` make check ` command. You're
18
18
not off the hook even if you just stick to documentation; code
19
- examples in the docs are tested as well!
19
+ examples in the docs are tested as well! Although for simple
20
+ wording or grammar fixes, this is probably unnecessary.
20
21
21
22
Pull requests will be treated as "review requests", and we will give
22
23
feedback we expect to see corrected on
Original file line number Diff line number Diff line change @@ -139,6 +139,10 @@ endif
139
139
RUSTFLAGS_STAGE0 += -C prefer-dynamic
140
140
RUSTFLAGS_STAGE1 += -C prefer-dynamic
141
141
142
+ # Landing pads require a lot of codegen. We can get through bootstrapping faster
143
+ # by not emitting them.
144
+ RUSTFLAGS_STAGE0 += -Z no-landing-pads
145
+
142
146
# platform-specific auto-configuration
143
147
include $(CFG_SRC_DIR ) mk/platform.mk
144
148
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ r##"<!DOCTYPE html>
106
106
</p>
107
107
<p>
108
108
Accepted types are: <code>fn</code>, <code>mod</code>,
109
- <code>struct</code> (or <code>str</code>) , <code>enum</code>,
109
+ <code>struct</code>, <code>enum</code>,
110
110
<code>trait</code>, <code>typedef</code> (or
111
111
<code>tdef</code>).
112
112
</p>
Original file line number Diff line number Diff line change 368
368
}
369
369
370
370
function getQuery ( ) {
371
- var matches , type , query = $ ( '.search-input' ) . val ( ) ;
371
+ var matches , type , query , raw = $ ( '.search-input' ) . val ( ) ;
372
+ query = raw ;
372
373
373
- matches = query . match ( / ^ ( f n | m o d | s t r ( u c t ) ? | e n u m | t r a i t | t ( y p e ) ? d ( e f ) ? ) \s * : \s * / i) ;
374
+ matches = query . match ( / ^ ( f n | m o d | s t r u c t | e n u m | t r a i t | t ( y p e ) ? d ( e f ) ? ) \s * : \s * / i) ;
374
375
if ( matches ) {
375
376
type = matches [ 1 ] . replace ( / ^ t d $ / , 'typedef' )
376
- . replace ( / ^ s t r $ / , 'struct' )
377
377
. replace ( / ^ t d e f $ / , 'typedef' )
378
378
. replace ( / ^ t y p e d $ / , 'typedef' ) ;
379
379
query = query . substring ( matches [ 0 ] . length ) ;
380
380
}
381
381
382
382
return {
383
+ raw : raw ,
383
384
query : query ,
384
385
type : type ,
385
386
id : query + type ,
535
536
if ( browserSupportsHistoryApi ( ) ) {
536
537
if ( ! history . state && ! params . search ) {
537
538
history . pushState ( query , "" , "?search=" +
538
- encodeURIComponent ( query . query ) ) ;
539
+ encodeURIComponent ( query . raw ) ) ;
539
540
} else {
540
541
history . replaceState ( query , "" , "?search=" +
541
- encodeURIComponent ( query . query ) ) ;
542
+ encodeURIComponent ( query . raw ) ) ;
542
543
}
543
544
}
544
545
You can’t perform that action at this time.
0 commit comments