Skip to content

Conversation

koic
Copy link
Contributor

@koic koic commented May 3, 2022

Follow up rust-lang/book#1977.

... を使った範囲は、現在の Rust 処理系 (1.60.0) だと以下のエラーになります。

error[E0783]: `...` range patterns are deprecated

この PR は ... 構文を、新たな ..= 構文に置換します。また ..= 周辺のコーディングフォーマットについて、..= の前後に空白がない原文にあわせて空白をトリムしています。

Follow up rust-lang/book#1977.

`...` を使った範囲は、現在の Rust 処理系 (1.60.0) だと以下のエラーになります。

```
error[E0783]: `...` range patterns are deprecated
```

この PR は `...` 構文を、新たな `..=` 構文に置換します。
また `..=` 周辺のコーディングフォーマットについて、`..=` の前後に空白がない
原文にあわせて空白をトリムしています。
Copy link
Member

@tatsuya6502 tatsuya6502 left a comment

Choose a reason for hiding this comment

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

ありがとうございます!

@tatsuya6502 tatsuya6502 merged commit 219647c into rust-lang-ja:master-ja May 4, 2022
@koic koic deleted the replace_deprecated_range_syntax_with_new_range branch May 4, 2022 02:36
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.

2 participants