mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
354c42f32c
Summary: Change the signature of `CreateCommitContext::as_file` and its associated functions so that content is `impl Into<String>`, rather than `impl AsRef<str>`. The content will immediately be converted to a `String` anyway, so we can avoid a string copy if the caller already has a string that can be moved. Reviewed By: krallin Differential Revision: D21743429 fbshipit-source-id: d54914386439489fe4e47e37ff9a75c52b1a0443 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |