Skip to content

Comments

feat: add len and is_empty for linkedbytes#5

Merged
PureWhiteWu merged 1 commit intomainfrom
feat/len
Jun 30, 2025
Merged

feat: add len and is_empty for linkedbytes#5
PureWhiteWu merged 1 commit intomainfrom
feat/len

Conversation

@PureWhiteWu
Copy link
Contributor

No description provided.

@PureWhiteWu PureWhiteWu requested review from Ggiggle and Copilot June 30, 2025 04:21
@PureWhiteWu PureWhiteWu self-assigned this Jun 30, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds two utility methods, len and is_empty, to the LinkedBytes structure, and bumps the package version.

  • Added len() to compute the total length of the internal list and bytes
  • Added is_empty() to check if the total length is zero
  • Updated version from 0.1.9 to 0.1.10 in Cargo.toml

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/lib.rs Added len and is_empty methods to LinkedBytes
Cargo.toml Version bump to reflect new changes

@PureWhiteWu
Copy link
Contributor Author

bugbot run

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ BugBot reviewed your changes and found no bugs!


BugBot free trial expires on July 22, 2025
You have used $0.00 of your $50.00 spend limit so far. Manage your spend limit in the Cursor dashboard.

Was this report helpful? Give feedback by reacting with 👍 or 👎

@PureWhiteWu PureWhiteWu merged commit 3252c02 into main Jun 30, 2025
8 of 12 checks passed
@PureWhiteWu PureWhiteWu deleted the feat/len branch June 30, 2025 04:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants