1
Fork 0

Fix formatting

This commit is contained in:
Jannis Christopher Köhl 2022-10-05 22:23:57 +02:00
parent 7ab1ba95de
commit 4478a87018

View file

@ -767,7 +767,7 @@ impl<V: HasTop> ValueOrPlace<V> {
pub enum ValueOrPlaceOrRef<V> { pub enum ValueOrPlaceOrRef<V> {
Value(V), Value(V),
Place(PlaceIndex), Place(PlaceIndex),
Ref(PlaceIndex) Ref(PlaceIndex),
} }
impl<V: HasTop> ValueOrPlaceOrRef<V> { impl<V: HasTop> ValueOrPlaceOrRef<V> {
@ -776,7 +776,6 @@ impl<V: HasTop> ValueOrPlaceOrRef<V> {
} }
} }
impl<V> From<ValueOrPlace<V>> for ValueOrPlaceOrRef<V> { impl<V> From<ValueOrPlace<V>> for ValueOrPlaceOrRef<V> {
fn from(x: ValueOrPlace<V>) -> Self { fn from(x: ValueOrPlace<V>) -> Self {
match x { match x {