andrew-d / andrew-d/tinycdb-rs

Unnecessary Box?

Open
#5 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
5
Forks
2
PR merge metrics
No merged PRs in 30d

Description

`Cdb::open` and `Cdb::new` both return `CdbResult>`, but I can't figure out why `Box` is used. All that struct holds is an integer file descriptor and a reasonably small C struct.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.