Benign cargo Download

ser.rs

SHA-25656b61986a7c57d37d65d763cb69119889a3dc06eb27a9e95cd5e758acf0e4535
Malecule∅

Evidence

English function-word token "the" lines 1–4
1:9… ight 2017 Serde Developers
2//
3// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
4// http://www.apache.org/licenses/LICENSE-2.0> o …
imports lib::* lines 5–20
5:28… pensource.org/licenses/MIT>, at your
6// option. This file may not be copied, modified, or distributed
7// except according to those terms.
8
9use lib::*;
10
11use ser::{self, Impossible, Serialize, SerializeMap, SerializeStruct, Serializer};
12
13#[cfg(any(feature = "std", feature = "alloc"))]
14use self::content::{
15 Content, ContentSerializer, SerializeStructVariantAsMapValue, SerializeTupleVariantAsMapValue,
16};
17
18/// Used to check that serde(getter) attributes return the expected type.
19/// Not public API.
20pub fn constrain<T: ?Siz …
English function-word token "for" lines 66–73
66:7… ple,
67 TupleStruct,
68 Enum,
69}
70
71impl Display for Unsupported {
72 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result {
73 match …
imports ser::SerializeTuple lines 539–542
539:27… uple(ref elements) => {
540 use ser::SerializeTuple;
541 let mut tuple = try!(serializer.serialize_tuple(elements.len()));
542 …
imports ser::SerializeTupleStruct lines 547–550
547:34… uct(n, ref fields) => {
548 use ser::SerializeTupleStruct;
549 let mut ts = try!(serializer.serialize_tuple_struct(n, fields.len()));
550 …

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.