Change const to static (rust update)