Skip to content

[Improvement] Fix typos and unnecessary memory allocation in native engine #2076

@Deegue

Description

@Deegue

Describe the bug / improvement

There are a few minor code issues in the native engine:

  1. Typos in pb_deserializer.rs
  • "output scheam" should be "output schema"
  • "not exits" should be "not exists"
  1. Many places withexpect(&format!(...)) always allocate memory for the strings even the value is some or ok

Expected behavior

Spell correctly, and expect should not perform any unnecessary allocation

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions