| commit | 3384c14eedb4c21793336ab5c80931ce27abfc43 | [log] [tgz] |
|---|---|---|
| author | David Tolnay <dtolnay@gmail.com> | Mon Sep 14 00:26:47 2020 -0400 |
| committer | David Tolnay <dtolnay@gmail.com> | Mon Sep 14 00:26:56 2020 -0400 |
| tree | 84cbaf4097f9378234bb990f354bf9cc6f7da068 | |
| parent | 3dacde91e1537fce54ccce74000fd2a647464668 [diff] [blame] |
Import from libcore where possible
diff --git a/src/exception.rs b/src/exception.rs index 125e484..e85bf61 100644 --- a/src/exception.rs +++ b/src/exception.rs
@@ -1,4 +1,4 @@ -use std::fmt::{self, Debug, Display}; +use core::fmt::{self, Debug, Display}; /// Exception thrown from an `extern "C"` function. #[derive(Debug)]