From 32d942826f0ec6568d7a9e28cb8c85bab3938606 Mon Sep 17 00:00:00 2001 From: Geoffrey Thomas Date: Sun, 25 Aug 2019 14:23:42 -0400 Subject: [PATCH] Make mod error public Motivation is json-sysctl (#122) where we need this to return things like ENOMEM. --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index f8e09b49..572d03d8 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -9,7 +9,7 @@ mod allocator; pub mod bindings; mod c_types; pub mod chrdev; -mod error; +pub mod error; pub mod filesystem; pub mod printk; pub mod sysctl;