Skip to content

lib: Move FileToken to use String#19

Open
patrickelectric wants to merge 1 commit into
Taptiive:mainfrom
patrickelectric:string
Open

lib: Move FileToken to use String#19
patrickelectric wants to merge 1 commit into
Taptiive:mainfrom
patrickelectric:string

Conversation

@patrickelectric

Copy link
Copy Markdown
Contributor

Using &'static str makes it a bit harder to manage lifetimes. Using String objects makes the API simpler to use and moving the ownership to the token.

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant