servo/components/util
Corey Farwell 60afad1b61 Migrate user agent string to Cow<'static, str>.
In most scenarios, where the user of Servo will not override the default
user agent, the user agent can be a `&'static str`. But since we allow
for customization, we currently use a `String` to represent the user
agent. This commit migrates the user agent to be represented as a
`Cow<'static, str>`, which (at the cost of ergonomics) prevents
unnecessary allocations whenever cloning the user agent string in the
scenario the user doesn't override the user agent.
2016-10-10 16:34:20 -04:00
..
basedir.rs Restore Android to using /sdcard/servo for data, cache, and config paths 2016-06-09 12:54:15 -05:00
Cargo.toml Update to Rust 1.14.0-nightly (19ac57926 2016-10-08) 2016-10-09 18:53:47 +02:00
geometry.rs Update to euclid 0.8 2016-08-12 03:12:06 +02:00
ipc.rs Update ipc-channel to pick up the improved error reporting. 2015-11-23 16:38:39 -08:00
lib.rs Update to Rust 1.14.0-nightly (19ac57926 2016-10-08) 2016-10-09 18:53:47 +02:00
opts.rs Migrate user agent string to Cow<'static, str>. 2016-10-10 16:34:20 -04:00
prefs.rs Use Result instead of panicking when the resource dir can't be found 2016-07-21 12:07:25 +05:30
remutex.rs Moved assertion to after lock release; tidied up code. 2016-10-04 15:50:38 -05:00
resource_files.rs Use Result instead of panicking when the resource dir can't be found 2016-07-21 12:07:25 +05:30
thread.rs Removed panic channel, replaced by integrated logging and issue reporting. 2016-07-20 21:56:43 -05:00