Skip to content

Commit

Permalink
SymbolsOverlay: derive Clone
Browse files Browse the repository at this point in the history
This makes creating an ArithmeticResoler with an immutable Overlay possilbe
  • Loading branch information
dcz authored and fatho committed Dec 13, 2024
1 parent 35f3c23 commit afb48ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/universe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ impl Default for SymbolStore {
}

/// Stores and allocates unique symbols on top of a symbol store, without modifying it.
#[derive(Debug)]
#[derive(Debug, Clone)]
pub struct SymbolOverlay<'a> {
symbols: &'a SymbolStore,
// Sym entries stored here start at 0, but get translated on the API boundary to start at symbols.num_symbols().
Expand Down

0 comments on commit afb48ec

Please sign in to comment.