Skip to content

Rollup of 16 pull requests #41070

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 50 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
5a6ebdf
Add links to std::sync::mpsc docs #29377
Technius Mar 31, 2017
d7b3f05
Improve some docs for VecDeque
Mar 31, 2017
44d8b23
Updating the description for BarrierWaitResult #29377
projektir Mar 31, 2017
89c35ae
Add links and examples to std::sync::mpsc docs (#29377)
Technius Apr 1, 2017
1e2a61d
Change wording for push_front
Apr 1, 2017
ae8ba78
Fix broken links to std::iter::Iterator::next
Technius Apr 1, 2017
5198072
Added links to from_utf8 methods in Utf8Error
donniebishop Apr 1, 2017
dab8e81
Fix warnings in examples
Technius Apr 1, 2017
d8fb322
Clean up std::ascii sub-level docs.
Apr 1, 2017
a5d775d
Add more std::ascii module-level docs.
Apr 1, 2017
34cf288
rustc: Stabilize the `#![windows_subsystem]` attribute
alexcrichton Mar 20, 2017
364241c
Added links to types in from_utf8 description
donniebishop Apr 1, 2017
128a313
Improve docs of core::option::IntoIter
irfanhudda Apr 1, 2017
029ace4
Improve docs of core::option::IterMut
irfanhudda Apr 1, 2017
c414628
Improve docs of core::option::Iter
irfanhudda Apr 1, 2017
4c9f8ae
Minor changes to core::option docs
irfanhudda Apr 2, 2017
ff4febf
Improve documentation for `std::fs::DirBuilder`
pgerber Apr 1, 2017
509ef4c
std::thread docs: fix link to current()
SimonSapin Apr 2, 2017
255d919
Fixed typo in doc comments for swap_remove
mandeep Apr 2, 2017
9c1b7ae
Revert "Implement AsRawFd/IntoRawFd for RawFd"
codyps Apr 3, 2017
f74ca38
Refactored swap_remove doc comment upon discussing with BurntSushi an…
mandeep Apr 3, 2017
e7c2160
Fix mutex's docs inconsistency
GuillaumeGomez Mar 17, 2017
7a07a73
Replace ^ with <sup> html balise
GuillaumeGomez Apr 3, 2017
5787808
Removed trailing whitespace on line 682
mandeep Apr 3, 2017
b02cb19
Handle ordered lists as well
GuillaumeGomez Apr 3, 2017
ab4f442
Fix styling issues
Technius Apr 3, 2017
3409f8d
Do not recommend private fields called as method
estebank Apr 4, 2017
086627e
Fix links
steveklabnik Apr 4, 2017
e60ea55
travis: Update sccache binaries
alexcrichton Apr 4, 2017
b5cedb7
tidy clean and small text fix
steveklabnik Apr 5, 2017
201b1a9
Properly adjust filenames when multiple emissions
nagisa Apr 5, 2017
d3a1062
Rollup merge of #40608 - GuillaumeGomez:mutex-doc-inconsistency, r=st…
frewsxcv Apr 5, 2017
14a7dd4
Rollup merge of #40870 - alexcrichton:stabilize-windows-subsystem, r=…
frewsxcv Apr 5, 2017
b9f51e6
Rollup merge of #40949 - stjepang:fix-vecdeque-docs, r=frewsxcv
frewsxcv Apr 5, 2017
861f13c
Rollup merge of #40977 - projektir:BarrierWaitResult_doc, r=steveklabnik
frewsxcv Apr 5, 2017
309a9e3
Rollup merge of #40981 - Technius:master, r=steveklabnik
frewsxcv Apr 5, 2017
ff1467a
Rollup merge of #40988 - eugene-bulkin:ascii-docs, r=frewsxcv
frewsxcv Apr 5, 2017
9fb1ddd
Rollup merge of #40992 - donniebishop:utf8err_linking, r=alexcrichton
frewsxcv Apr 5, 2017
800b85e
Rollup merge of #40997 - donniebishop:from_utf8_linking, r=steveklabnik
frewsxcv Apr 5, 2017
854c81c
Rollup merge of #40999 - irfanhudda:improve-option-docs, r=steveklabnik
frewsxcv Apr 5, 2017
c609826
Rollup merge of #41007 - pgerber:dir_builder, r=frewsxcv
frewsxcv Apr 5, 2017
7bf0706
Rollup merge of #41014 - SimonSapin:patch-6, r=frewsxcv
frewsxcv Apr 5, 2017
695588e
Rollup merge of #41019 - mandeep:fix-vec-swapremove-docs, r=BurntSushi
frewsxcv Apr 5, 2017
5b23ae5
Rollup merge of #41035 - jmesmon:revert-bad-raw-fd-impls, r=aturon
frewsxcv Apr 5, 2017
5697b90
Rollup merge of #41043 - GuillaumeGomez:sup_balise, r=steveklabnik
frewsxcv Apr 5, 2017
8c29876
Rollup merge of #41049 - GuillaumeGomez:rustdoc-ordered-list, r=frewsxcv
frewsxcv Apr 5, 2017
3d566ad
Rollup merge of #41062 - estebank:private-field, r=arielb1
frewsxcv Apr 5, 2017
7a4c255
Rollup merge of #41066 - steveklabnik:fix-links, r=frewsxcv
frewsxcv Apr 5, 2017
58b0399
Rollup merge of #41076 - alexcrichton:update-sccache, r=frewsxcv
frewsxcv Apr 5, 2017
02ff7d1
Rollup merge of #41085 - nagisa:fix-output-properg, r=alexcrichton
frewsxcv Apr 5, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Improve some docs for VecDeque
  • Loading branch information
Stjepan Glavina committed Mar 31, 2017
commit d7b3f053d06799e521fa15732f409595dd46d5fc
18 changes: 9 additions & 9 deletions src/libcollections/vec_deque.rs
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ impl<T> VecDeque<T> {
}
}

/// Shortens a `VecDeque`, dropping excess elements from the back.
/// Shortens the `VecDeque`, dropping excess elements from the back.
///
/// If `len` is greater than the `VecDeque`'s current length, this has no
/// effect.
Expand Down Expand Up @@ -941,7 +941,7 @@ impl<T> VecDeque<T> {
a.contains(x) || b.contains(x)
}

/// Provides a reference to the front element, or `None` if the sequence is
/// Provides a reference to the front element, or `None` if the `VecDeque` is
/// empty.
///
/// # Examples
Expand All @@ -966,7 +966,7 @@ impl<T> VecDeque<T> {
}

/// Provides a mutable reference to the front element, or `None` if the
/// sequence is empty.
/// `VecDeque` is empty.
///
/// # Examples
///
Expand All @@ -993,7 +993,7 @@ impl<T> VecDeque<T> {
}
}

/// Provides a reference to the back element, or `None` if the sequence is
/// Provides a reference to the back element, or `None` if the `VecDeque` is
/// empty.
///
/// # Examples
Expand All @@ -1018,7 +1018,7 @@ impl<T> VecDeque<T> {
}

/// Provides a mutable reference to the back element, or `None` if the
/// sequence is empty.
/// `VecDeque` is empty.
///
/// # Examples
///
Expand Down Expand Up @@ -1046,7 +1046,7 @@ impl<T> VecDeque<T> {
}
}

/// Removes the first element and returns it, or `None` if the sequence is
/// Removes the first element and returns it, or `None` if the `VecDeque` is
/// empty.
///
/// # Examples
Expand All @@ -1073,7 +1073,7 @@ impl<T> VecDeque<T> {
}
}

/// Inserts an element first in the sequence.
/// Prepends an element to the front of the `VecDeque`.
///
/// # Examples
///
Expand All @@ -1096,7 +1096,7 @@ impl<T> VecDeque<T> {
}
}

/// Appends an element to the back of a buffer
/// Appends an element to the back of the `VecDeque`.
///
/// # Examples
///
Expand All @@ -1117,7 +1117,7 @@ impl<T> VecDeque<T> {
unsafe { self.buffer_write(head, value) }
}

/// Removes the last element from a buffer and returns it, or `None` if
/// Removes the last element from the `VecDeque` and returns it, or `None` if
/// it is empty.
///
/// # Examples
Expand Down