]> git.lizzy.rs Git - rust.git/commit
remove 'as_str' when it's already a str type.
authorGuanqun Lu <guanqun.lu@gmail.com>
Tue, 24 Sep 2019 09:49:25 +0000 (17:49 +0800)
committerGuanqun Lu <guanqun.lu@gmail.com>
Wed, 2 Oct 2019 01:06:37 +0000 (09:06 +0800)
commita5d931050e69df1bc07117a2891154a71a06a73e
treef54341723d19f59abaeef2346958b7022e4985a0
parent42ec6831b019114a4b6f6b58bfb5bc2927d70388
remove 'as_str' when it's already a str type.

fix #62642
src/librustc_typeck/check/method/suggest.rs