Skip to content
This repository has been archived by the owner on Aug 15, 2021. It is now read-only.

Update doc to to refer to Deserializer::from_slice instead of ::from_bytes #88

Merged
merged 1 commit into from
Jan 15, 2019
Merged
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion src/de.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1067,7 +1067,7 @@ where
///
/// Typically it is more convenient to use one of these methods instead:
///
/// * `Deserializer::from_bytes(...).into_iter()`
/// * `Deserializer::from_slice(...).into_iter()`
/// * `Deserializer::from_reader(...).into_iter()`
pub fn new(read: R) -> StreamDeserializer<'de, R, T> {
StreamDeserializer {
Expand Down