Skip to content

Commit

Permalink
Update src/libutil/rust-ffi.hh
Browse files Browse the repository at this point in the history
  • Loading branch information
Ericson2314 authored Mar 25, 2020
1 parent 233e672 commit d32877e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/libutil/rust-ffi.hh
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,9 @@ protected:
other.evacuate();
}

// Not all Rust types are Clone / Copy, but our base "value" class needs to
// have a copy constructor so the ones that are can be.
// Not all Rust types are Clone / Copy, but our base Value class needs to
// have a copy constructor so that ones which do implement Copy/Clone
// can be copied/cloned.
Value(const Value & other)
: raw(other.raw)
{
Expand Down

0 comments on commit d32877e

Please sign in to comment.