about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-09-30 23:04:16 +0000
committerbors <bors@rust-lang.org>2020-09-30 23:04:16 +0000
commit9bb55dc8642d811d66a7599812009cc063577e00 (patch)
tree3716d9e69711ab1223a55e60177f087abb8a2c35 /compiler/rustc_codegen_llvm/src
parentef663a8a48ea6b98b43cbfaefd99316b36b16825 (diff)
parentdce7248a39e7f8907cb9c5cfe719f6f63da1fa1f (diff)
downloadrust-9bb55dc8642d811d66a7599812009cc063577e00.tar.gz
rust-9bb55dc8642d811d66a7599812009cc063577e00.zip
Auto merge of #76325 - lzutao:split-core-str, r=Amanieu
Split core/str/mod.rs to smaller files

Note for reviewer:
* I split to multiple commits for easier reviewing, but I could git squash them all to one if requested.
* Recommend pulling this change locally and using advanced git diff viewer or this command:
  ```bash
  git show --reverse --color-moved=dimmed-zebra --color-moved-ws=ignore-all-space master..
  ```

---

I split `core/str/mod.rs` to these modules:

* `converts`: Contains helper functions to convert from bytes to str.
* `error`: For error structs like Utf8Error.
* `iter`: For iterators of many str methods.
* `traits`: For indexing operations and build in traits on str.
* `validations`: For functions validating utf8 --- This name is awkward, maybe utf8.rs is better.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions