Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Evaluate migration of SmallVec to min_const_generics #598

Merged
merged 18 commits into from
Feb 4, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions crates/storage/src/collections/smallvec/storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,9 @@ use crate::traits::{

#[cfg(feature = "std")]
const _: () = {
use crate::{
lazy::LazyArray,
traits::StorageLayout,
};
#[cfg(feature = "ink-unstable")]
use crate::lazy::LazyArray;
use crate::traits::StorageLayout;
use ink_metadata::layout::{
FieldLayout,
Layout,
Expand Down
3 changes: 0 additions & 3 deletions crates/storage/src/lazy/lazy_array.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#![cfg(not(feature = "ink-unstable"))]
#![allow(dead_code)]
cmichi marked this conversation as resolved.
Show resolved Hide resolved

use super::{
CacheCell,
EntryState,
Expand Down
1 change: 1 addition & 0 deletions crates/storage/src/lazy/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ pub mod lazy_hmap;

mod cache_cell;
mod entry;
#[cfg(feature = "ink-unstable")]
mod lazy_array;
mod lazy_cell;
mod lazy_imap;
Expand Down