chiark
/
gitweb
/
~ian
/
hippotat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
753792b
)
Do not import the name Engine from base64.
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Thu, 15 Jun 2023 01:31:12 +0000
(
02:31
+0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Thu, 15 Jun 2023 01:38:47 +0000
(
02:38
+0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/prelude.rs
patch
|
blob
|
history
diff --git
a/src/prelude.rs
b/src/prelude.rs
index 799c27c6b4dc0958fa8b995bda2ce13baeef7e04..11c13830f345f95bab400652fcb310d2a02253a1 100644
(file)
--- a/
src/prelude.rs
+++ b/
src/prelude.rs
@@
-83,7
+83,7
@@
pub const SLIP_MIME_ESC: u8 = b'-'; // 2d
pub const MAX_OVERHEAD: usize = 2_000;
-pub use base64::engine::
Engine
;
+pub use base64::engine::
{Engine as _}
;
pub use base64::engine::general_purpose::STANDARD as BASE64_CONFIG;
pub fn default<T:Default>() -> T { Default::default() }