►
Description
See more at https://dtolnay.github.io/rust-quiz/
A
I'm
David-
and
this
is
Alex
and
we
put
together,
so
it
turns
your
neighbor
to
the
left
to
the
right
and
whoever
you
know
less
well,
work
with
them
and
answering
these
four
questions.
These
are
going
to
be
in
the
form
of
a
short
Russ
program
that
compiles
and
prints
some
number,
and
we
need
you
to
tell
us
what
number
it
prints
work
with
your
neighbor
and
after
50
seconds,
Alex
or
I
will
give
the
explanation.
A
I'm
about
to
show
the
answer
and
I'd
like
to
hear
happy
noises.
If
your
team
got
it
right
and
learning
noises,
if
you
guessed
wrong,
this
program
prints
one
because
we
disambiguate
method
ball.
Syntax
like
this,
we
just
ambigú,
eight
method,
call
syntax
as
a
referring
to
the
method,
F
and
not
the
field
F.
If
you
wanted
to
call
the
function
pointer,
F,
you
would
have
to
write
parentheses
around
the
field.
Access
question
to.
B
All
right,
the
answer
here
is
one
two
four
three,
this
high
question
has
to
wait.
Happy
noises
you've
got
to
write
learning
noises
if
you
got
it
wrong.
The
question
here
has
to
do
with
drop.
If
you
the
first
value,
we
were
binding
X
by
the
value
in
this
let
binding,
which
means
we
have
to
drop
the
field
D
immediately,
whereas
on
the
second
let
binding
here
abiding
it
by
reference,
which
means
we
have
to
keep
the
entire
struct
around,
which
means
that
three
goes
out
of
scope
at
the
very
end
printing.
A
A
B
The
answer
here
is
one,
so
this
high
comes
out
as
a
result
of
a
compiler
warning
which
will
helpfully
tell
us
that
the
first
arm
here
matches
any
value
and
the
second
arm
is
actually
dead
code.
We
didn't
match
enum
:
:.
First,
we
only
matched
the
variable
first,
so
happy
noises.
If
you
enjoyed
this.