mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-25 06:03:16 +00:00
auto merge of #11795 : xales/rust/master, r=cmr
This commit is contained in:
commit
60260b6d43
@ -597,7 +597,7 @@ example:
|
||||
# }
|
||||
// -+ r
|
||||
fn select_based_on_unit_circle<'r, T>( // |-+ B
|
||||
threshold: f64, a: &'r T, b: &'r T) -> &'r T { // | |
|
||||
threshold: f64, a: &'r T, b: &'r T) -> &'r T { // | |
|
||||
// | |
|
||||
let shape = Circle(Point {x: 0., y: 0.}, 1.); // | |
|
||||
select(&shape, threshold, a, b) // | |
|
||||
|
Loading…
Reference in New Issue
Block a user