chiark / gitweb /
adjust re node.js ishness
[talk-2019-ghm-rust.git] / bck-lifetimes.fig
1 #FIG 3.2  Produced by xfig version 3.2.6a
2 Landscape
3 Center
4 Metric
5 A4
6 100.00
7 Single
8 -2
9 1200 2
10 1 3 0 2 4 7 60 -1 -1 0.000 1 0.0000 2478 3757 611 611 2478 3757 1887 3600
11 1 3 0 2 1 7 60 -1 -1 0.000 1 0.0000 4460 3733 385 385 4460 3733 4168 3482
12 1 3 0 2 1 7 60 -1 -1 0.000 1 0.0000 7755 3761 385 385 7755 3761 7463 3510
13 1 3 0 2 1 7 60 -1 -1 0.000 1 0.0000 6179 4264 385 385 6179 4264 5887 4013
14 2 5 0 1 0 -1 60 -1 -1 0.000 0 0 -1 0 0 5
15         0 bck-err.txt.eps
16          -900 -90 11250 -90 11250 1319 -900 1319 -900 -90
17 2 1 0 2 0 7 60 -1 -1 0.000 0 0 -1 0 0 2
18          -1080 1620 11430 1620
19 4 0 0 60 -1 12 30 0.0000 4 390 11400 -900 -1800 fn longest(x: &str, y: &str) -> &str {\001
20 4 0 0 60 -1 12 30 0.0000 4 390 11700 -900 -1245   if x.len() > y.len() { x } else { y }\001
21 4 0 0 60 -1 12 30 0.0000 4 360 300 -900 -690 }\001
22 4 0 0 60 -1 12 30 0.0000 4 390 11700 -900 5040   if x.len() > y.len() { x } else { y }\001
23 4 0 0 60 -1 12 30 0.0000 4 360 7800 990 4365               -> &'a str {\001
24 4 0 1 60 -1 1 30 0.0000 4 450 3990 4590 3150 lifetime annotations\001
25 4 0 4 60 -1 1 30 0.0000 4 450 1650 270 2160 function\001
26 4 0 4 60 -1 1 30 0.0000 4 420 2910 270 2610 parameterised\001
27 4 0 4 60 -1 1 30 0.0000 4 450 2085 270 3060 by lifetime\001
28 4 0 0 60 -1 12 30 0.0000 4 390 11400 -900 3915 fn longest<'a>(x: &'a str, y: &'a str)\001
29 4 0 0 72 -1 2 30 0.0000 4 330 3435 7920 -2700 Borrow checker\001