Skip to content

Commit 64885ac

Browse files
committed
Add borrow to stdlib and use ToOwned in impl_ops_add
1 parent 61d1c63 commit 64885ac

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

src/impl_ops_add.rs

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
//!
33
44
use super::*;
5+
use stdlib::borrow::ToOwned;
56

67

78
impl Add<BigDecimal> for BigDecimal {

src/with_std.rs

+1
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,5 @@ mod stdlib {
2525
pub use std::collections::hash_map::DefaultHasher;
2626

2727
pub use std::vec::Vec;
28+
pub use std::borrow;
2829
}

src/without_std.rs

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ mod stdlib {
3333
#[cfg(test)]
3434
pub use siphasher::sip::SipHasher as DefaultHasher;
3535

36+
pub use alloc::borrow;
3637
pub use alloc::string;
3738
pub use alloc::vec::Vec;
3839
}

0 commit comments

Comments
 (0)