Skip to content

Remove unnecessary vec! from create_temporary_table_with_items invocations #238

Open
@StoneDot

Description

@StoneDot

Currently we typically use create_temporary_table_with_items with vec!. However, current implementation does not need to use vec! because of the improvement of #218. We can simplify the implementation of caller sides.

    pub async fn create_temporary_table_with_items<ItemIter>(
        &mut self,
        pk: &'static str,
        sk: Option<&'static str>,
        items: ItemIter,
    ) -> Result<String, Box<dyn std::error::Error>>
    where
        ItemIter: IntoIterator<Item = TemporaryItem>,

Metadata

Metadata

Assignees

Labels

good first issueGood for newcomerstestSomething related to test

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions