Use &’static str for backend

This commit is contained in:
Syrus
2020-01-15 14:04:08 +01:00
parent a1d8b9aa5b
commit 273a6307f7
3 changed files with 4 additions and 4 deletions

View File

@ -186,7 +186,7 @@ pub struct CodeVersion {
pub base: usize,
/// The backend used to compile this module.
pub backend: String,
pub backend: &'static str,
/// `RunnableModule` for this code version.
pub runnable_module: Arc<Box<dyn RunnableModule>>,