Manish Goregaokar
f2c2736cd8
Rollup merge of #25290 - bluss:docfixes, r=steveklabnik
...
Several Minor API / Reference Documentation Fixes
- Fix a few small errors in the reference.
- Fix paper cuts in the API docs.
Fixes #24882
Fixes #25233
Fixes #25250
2015-05-11 19:58:57 +05:30
Manish Goregaokar
8f01d8d7c2
Rollup merge of #25287 - petehunt:patch-2, r=steveklabnik
2015-05-11 19:58:57 +05:30
Manish Goregaokar
1b8f52bb69
Rollup merge of #25286 - johannhof:patch-1, r=steveklabnik
...
The reference was claiming all vectors all bounds-checked at run-time, when constant vectors are usually checked at compile-time.
For the changed example see http://is.gd/28ak9E
Also fixed a minor grammar issue.
2015-05-11 19:58:57 +05:30
Manish Goregaokar
b0b6db6cb3
Rollup merge of #25284 - petehunt:patch-1, r=steveklabnik
...
Noticed this while perusing the docs
2015-05-11 19:58:56 +05:30
Manish Goregaokar
c891375298
Rollup merge of #25280 - frewsxcv:patch-22, r=steveklabnik
2015-05-11 19:58:56 +05:30
bors
8004fc9fe0
Auto merge of #25277 - polachok:docfix, r=steveklabnik
...
r? @steveklabnik
2015-05-11 12:07:39 +00:00
bors
af57ec5851
Auto merge of #25271 - tshepang:doc-deunwrap, r=steveklabnik
2015-05-11 09:50:36 +00:00
bors
c44d84da98
Auto merge of #25266 - richo:windows-resource-sancheck, r=steveklabnik
...
This avoids a crash on windows
Closes #25265
2015-05-11 06:42:25 +00:00
bors
7334518579
Auto merge of #25085 - carols10cents:remove-old-tilde, r=steveklabnik
...
There were still some mentions of `~[T]` and `~T`, mostly in comments and debugging statements. I tried to do my best to preserve meaning, but I might have gotten some wrong-- I'm happy to fix anything :)
2015-05-11 04:46:41 +00:00
Ulrik Sverdrup
aabdd8e0a6
docs: Update SliceConcatExt docs for assoc types
2015-05-11 03:43:04 +02:00
Ulrik Sverdrup
12d50b2da0
docs: Fixes in Reference Chapter 6.1
2015-05-11 03:41:54 +02:00
Ulrik Sverdrup
098040f8fc
docs: Link from tls macros to relevant docs
...
Fixes #25233
2015-05-11 03:41:54 +02:00
Ulrik Sverdrup
02b8e4e6cf
docs: Clarify Path::starts_with (and ends_with)
...
Fixes #24882
2015-05-11 03:41:53 +02:00
Ulrik Sverdrup
4e8afd65f9
docs: Update FromStr documentation
...
Fixes #25250
2015-05-11 03:41:53 +02:00
bors
bef0b4bb02
Auto merge of #24934 - jooert:bitset-append-split_off, r=Gankro
...
cc #19986
2015-05-11 00:58:33 +00:00
Johann Hofmann
295b62dfb9
Docs: Compile-time bounds check in index expression
...
The reference was claiming all vectors all bounds-checked at run-time, when constant vectors are usually checked at compile-time.
For the changed example see http://is.gd/28ak9E
2015-05-11 01:22:57 +02:00
Pete Hunt
a168a15008
Fix typo in references-and-borrowing docs
2015-05-10 16:10:02 -07:00
Pete Hunt
6d410132dc
Fix typo in guessing-game docs
2015-05-10 15:11:40 -07:00
Tshepang Lekhonkhobe
683da9c384
doc: unwrap is discouraged, so use Some
2015-05-10 23:39:13 +02:00
bors
9ecc9896de
Auto merge of #25281 - steveklabnik:rollup, r=steveklabnik
...
- Successful merges: #24948 , #25158 , #25188 , #25222 , #25239 , #25240 , #25241 , #25255 , #25257 , #25263
- Failed merges:
2015-05-10 20:44:45 +00:00
Steve Klabnik
c70458ba5d
Rollup merge of #25263 - fhinkel:master, r=steveklabnik
2015-05-10 16:44:24 -04:00
Steve Klabnik
7ae332c39f
Rollup merge of #25257 - dpetersen:mutability-docfix, r=steveklabnik
...
I think there's a trivial missing word in the Mutability document. I reformatted the resulting paragraph in vim, which seems to match what the rest of the document is doing as far as word wrapping.
Edit: I found another minor thing as I continued reading.
P.S. I'm re-reading the docs, since so much has changed since my first read, and they've gotten even better! Nice job!
r? @steveklabnik
2015-05-10 16:44:23 -04:00
Steve Klabnik
5160bf80cd
Rollup merge of #25255 - caipre:diagnostic-messages, r=alexcrichton
...
Add a few diagnostic messages; part of #24407 .
2015-05-10 16:44:23 -04:00
Steve Klabnik
d065d57690
Rollup merge of #25241 - sindreij:patch-2, r=steveklabnik
...
The start of the last text block in references was missing, I added it.
r? @steveklabnik
2015-05-10 16:44:23 -04:00
Steve Klabnik
dcc76da5b6
Rollup merge of #25240 - bluss:doc-hashmap-entry, r=steveklabnik
...
Add example for HashMap::entry()
2015-05-10 16:44:23 -04:00
Steve Klabnik
fa207fafc6
Rollup merge of #25239 - sindreij:patch-1, r=alexcrichton
2015-05-10 16:44:22 -04:00
Steve Klabnik
ba8eb58257
Rollup merge of #25222 - GuillaumeGomez:doc-ref, r=steveklabnik
...
r? @steveklabnik
2015-05-10 16:44:22 -04:00
Steve Klabnik
a7253780b2
Rollup merge of #25188 - tincann:patch-1, r=steveklabnik
2015-05-10 16:44:22 -04:00
Steve Klabnik
ad1c0c57b8
Rollup merge of #25158 - koute:master, r=alexcrichton
...
I was profiling my code again and this time AsRef<str> for String
was eating up a considerable chunk of my runtime; adding the inline
annotation made the program run almost twice as fast!
While I was at it I also added the annotation to other implementations
of AsRef as well as AsMut.
2015-05-10 16:44:22 -04:00
Steve Klabnik
371eb87771
Rollup merge of #24948 - derhuerst:patch-1, r=steveklabnik
...
I've written a small [EditorConfig](http://editorconfig.org ) file for Rust development.
2015-05-10 16:44:22 -04:00
Corey Farwell
685f557729
Update docs to stop referencing BufReadExt
2015-05-10 16:32:18 -04:00
Johannes Oertel
f95c812311
Implement append
and split_off
for BitSet (RFC 509)
2015-05-10 21:46:32 +02:00
Alexander Polakov
0c390d2f8e
point supposed to be immutable in this example
2015-05-10 22:37:06 +03:00
Guillaume Gomez
25543f38e4
Add missing backticks
2015-05-10 21:05:04 +02:00
Nick Platt
ffc0d04489
Add long diagnostic for E0131, E0132
2015-05-10 11:04:24 -04:00
Nick Platt
5613502a4f
Add long diagnostic for E0067
2015-05-10 11:04:24 -04:00
Jan Bujak
a168dbad15
Add #[inline] to AsRef<str>::as_ref for String and str.
2015-05-10 14:06:41 +02:00
Sindre Johansen
8ad1c90db0
Removed the backticks on slices
2015-05-10 11:16:32 +02:00
Richo Healey
c4b72a88ef
sancheck: import resource inside of the posix check
...
This avoids a crash on windows
2015-05-10 02:08:48 -07:00
Franziska Hinkelmann
2cc4d822df
Fix small typos in documentation
2015-05-10 08:02:06 +02:00
bors
750f2c63f2
Auto merge of #25262 - Manishearth:rollup, r=Manishearth
...
- Successful merges: #25200 , #25242 , #25248 , #25249 , #25251 , #25252 , #25261
- Failed merges: #25255
2015-05-10 05:32:20 +00:00
Manish Goregaokar
2274bf126a
Rollup merge of #25261 - nham:obsolete_assoc_space_comment, r=alexcrichton
...
This was added in d2f8074
along with the AssocSpace stuff. The AssocSpace
stuff was then removed in de8e0ae
, except it seems the comment here was missed.
2015-05-10 11:01:46 +05:30
Manish Goregaokar
87a6278723
Rollup merge of #25252 - inrustwetrust:crate-type-attribute, r=alexcrichton
...
Fixes the problem in #16974 with unhelpful error messages when accidentally using the wrong syntax for the `crate_type="lib"` attribute. The attribute syntax error now shows up instead of "main function not found".
2015-05-10 11:01:46 +05:30
Manish Goregaokar
459652c832
Rollup merge of #25251 - nham:whitespace_lang_items, r=Manishearth
...
In my opinion this looks nicer, but also it matches the whitespace generally
used for stability markers.
2015-05-10 11:01:46 +05:30
Manish Goregaokar
fd099b2d50
Rollup merge of #25249 - robyoung:minor-doc-fix, r=Manishearth
...
Remove an rogue 'is' and fix some line wrapping.
2015-05-10 11:01:46 +05:30
Manish Goregaokar
f23867aa66
Rollup merge of #25248 - carols10cents:unused-auxiliaries, r=Manishearth
...
Hiiiii Rust, it's me again, Carol ;)
Based on the unused files that I found hanging out and that I removed in #25231 , I looked at the rest of the auxiliary files to see if there were any more not being used. Guess what!! There were!!!!! ;)
Have I mentioned how much I enjoy deleting code? ;) ;) ;) <3
2015-05-10 11:01:45 +05:30
Manish Goregaokar
79ca74d8e3
Rollup merge of #25242 - acgtyrant:patch-3, r=Manishearth
...
Fix a typo while `io::stdin().read_line()` returns `Result` actually
2015-05-10 11:01:45 +05:30
Manish Goregaokar
15c9f44c9a
Rollup merge of #25200 - nham:E0062_E0063, r=alexcrichton
...
cc #24407
2015-05-10 11:01:45 +05:30
Don Petersen
ae1b64ff73
Fix typo in Match document.
2015-05-09 22:10:34 -07:00
Nick Hamann
788d76281e
Remove obsolete comment in rustc::middle::subst.
...
This was added in d2f8074
along with the AssocSpace stuff. The AssocSpace
stuff was then removed in de8e0ae
, except the comment was missed it seems.
2015-05-09 23:43:48 -05:00