Fixed TP sharded version.

This commit is contained in:
Nicolas Patry
2023-07-25 19:29:03 +00:00
parent 1735e4831e
commit ed58de7551
4 changed files with 63 additions and 37 deletions

View File

@ -103,7 +103,7 @@ pub enum Op {
}
/// Unary ops that can be defined in user-land.
pub trait CustomOp1: Send + Sync {
pub trait CustomOp1 {
// Box<dyn> does not support const yet, so use a function to get the name.
fn name(&self) -> &'static str;