Commit Graph

5 Commits

Author SHA1 Message Date
Erick Tryzelaar f7eb082339 Initial port of build_log 2015-01-18 10:05:13 -08:00
Erick Tryzelaar 8715a41158 Update to rust HEAD 2015-01-07 09:30:11 -08:00
Thomas Bahn 17ffa65cb2 Replace StrAllocating with String type in function parameters
The key parameter of the insert functions are of type String now.
As insert requires ownership of its parameter `key` and StrAllocating
being gone in rust these functions now communicate that ownership
in their signature.

As a result &str must be converted into a String at the caller instead
of the callee.

The Trait ToOwned isn't an alternative as it's a generalized Clone.
StrAllocating simply has hidden an allocation or move.
2014-12-23 18:34:20 +01:00
Thomas Bahn 512a54e983 Replace TreeMap with BTreeMap in the serde2 2014-12-23 18:33:37 +01:00
Erick Tryzelaar 6caf7b8e0b flesh out serde2::json 2014-12-06 08:02:34 -08:00