about summary refs log tree commit diff
path: root/src/test/ui/run-pass/structs-enums/tuple-struct-construct.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-09-05 23:45:08 +0000
committerbors <bors@rust-lang.org>2018-09-05 23:45:08 +0000
commit8b7f164eab538025a29488e2e47ae7b4bbee2ad9 (patch)
tree57009c82801c59970a78af1e2af99e3d2c2572f5 /src/test/ui/run-pass/structs-enums/tuple-struct-construct.rs
parent6e0f1cc1587676b58cfff06bf3a10ea7fba7086e (diff)
parentff7967056916f68f2df5214e47e9e72414b44fc3 (diff)
downloadrust-8b7f164eab538025a29488e2e47ae7b4bbee2ad9.tar.gz
rust-8b7f164eab538025a29488e2e47ae7b4bbee2ad9.zip
Auto merge of #52994 - varkor:trim_direction, r=alexcrichton
Add trim_start, trim_end etc.; deprecate trim_left, trim_right, etc. in future

Adds the methods: `trim_start`, `trim_end`, `trim_start_matches` and `trim_end_matches`.
Deprecates `trim_left`, `trim_right`, `trim_left_matches` and `trim_right_matches` starting from Rust 1.33.0, three versions from when they'll initially be marked as being deprecated, using the future deprecation from https://github.com/rust-lang/rust/issues/30785 and https://github.com/rust-lang/rust/pull/51681.

Fixes https://github.com/rust-lang/rust/issues/30459.
Diffstat (limited to 'src/test/ui/run-pass/structs-enums/tuple-struct-construct.rs')
0 files changed, 0 insertions, 0 deletions