Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit21cdfec

Browse files
LukasKalbertodtogoffart
authored andcommitted
Update litrs dependency to v1.0
1 parentbb0dea8 commit21cdfec

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ default = []
2424
self-test = []
2525

2626
[dependencies]
27-
litrs ={version ="0.4.1",default-features =false }
27+
litrs ="1.0.0"

‎lib.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ fn parse_args(input: TokenStream) -> Result<Args, TokenStream> {
215215
ifletSome(tt) = token_trees.next(){
216216
match litrs::StringLit::<String>::try_from(&tt){
217217
Ok(string_lit)if string_lit.value().contains("{feature}") =>{
218-
feature_label = string_lit.value().to_string()
218+
feature_label = string_lit.into_value()
219219
}
220220
_ =>{
221221
returnErr(compile_error(

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp