diff options
-rw-r--r-- | src/dox.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dox.rs b/src/dox.rs index 941b65cc74..91fd7f75d6 100644 --- a/src/dox.rs +++ b/src/dox.rs @@ -160,6 +160,6 @@ mod imp { pub mod mem { pub fn size_of_val<T>(_: &T) -> usize { 4 } - pub fn size_of<T>() -> usize { 4 } + pub const fn size_of<T>() -> usize { 4 } } } |