| commit | 6f7f686f15f8629348d4309d758739d539e5b929 | [log] [tgz] |
|---|---|---|
| author | David Tolnay <dtolnay@gmail.com> | Sat Aug 29 22:55:03 2020 -0700 |
| committer | David Tolnay <dtolnay@gmail.com> | Sat Aug 29 22:56:49 2020 -0700 |
| tree | d9757216a9dae0d46a5b18444ea98bf2b52181dc | |
| parent | 135753b46c4b506d5df3f6578881fe2c28e753d4 [diff] [blame] |
Remove Result alias from API of cxx-gen library This is unnecessary when we don't expect downstream code to be commonly passing around cxx_gen::Result<T>.
diff --git a/gen/src/error.rs b/gen/src/error.rs index 9a55243..70dcb37 100644 --- a/gen/src/error.rs +++ b/gen/src/error.rs
@@ -11,7 +11,7 @@ use std::path::Path; use std::process; -pub type Result<T, E = Error> = std::result::Result<T, E>; +pub(crate) type Result<T, E = Error> = std::result::Result<T, E>; #[derive(Debug)] pub enum Error {