mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-10 01:10:09 +03:00
[PR #1061] [MERGED] Use strip_prefix() instead of trim_start_matches() as appropriate
#3545
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/1061
Author: @jjlin
Created: 7/21/2020
Status: ✅ Merged
Merged: 7/21/2020
Merged by: @dani-garcia
Base:
master← Head:use-strip-prefix📝 Commits (1)
de70fbfUsestrip_prefix()instead oftrim_start_matches()as appropriate📊 Changes
1 file changed (+3 additions, -6 deletions)
View changed files
📝
src/util.rs(+3 -6)📄 Description
As of Rust 1.45.0,
strip_prefix()is now stable.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.