Skip to content

Commit 60260b6

Browse files
committed
auto merge of #11795 : xales/rust/master, r=cmr
2 parents 0f637eb + 5d2ef31 commit 60260b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/guide-lifetimes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ example:
597597
# }
598598
// -+ r
599599
fn select_based_on_unit_circle<'r, T>( // |-+ B
600-
threshold: f64, a: &'r T, b: &'r T) -> &'r T { // | |
600+
threshold: f64, a: &'r T, b: &'r T) -> &'r T { // | |
601601
// | |
602602
let shape = Circle(Point {x: 0., y: 0.}, 1.); // | |
603603
select(&shape, threshold, a, b) // | |

0 commit comments

Comments
 (0)