]> git.lizzy.rs Git - rust.git/commit
Use map_or(true) instead of unwrap_or(true)
authorJoshua Nelson <jyn514@gmail.com>
Wed, 26 Aug 2020 02:00:25 +0000 (22:00 -0400)
committerGitHub <noreply@github.com>
Wed, 26 Aug 2020 02:00:25 +0000 (22:00 -0400)
commitbb351defba42f5019d4ab34f2baf43c703519067
tree76057ffff397c3dd2db9280fe70b7be5f2c45bd0
parente233d80808d338f025511bc0558319a6dd3acc93
Use map_or(true) instead of unwrap_or(true)

Co-authored-by: Ivan Tham <pickfire@riseup.net>
src/librustc_hir/def.rs