diff options
author | René Kijewski <rene.kijewski@fu-berlin.de> | 2023-01-24 09:21:52 +0100 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2023-01-30 10:10:49 +0100 |
commit | 58e02a4fb6f6d58ff68d18f24abcfc8cab53f7be (patch) | |
tree | 2436bc202212b34ec25f7cd143c2f2285966ae50 /testing/tests/calls.rs | |
parent | 3003d86264680433e789d2726d0d12d2c6267c40 (diff) | |
download | askama-58e02a4fb6f6d58ff68d18f24abcfc8cab53f7be.tar.gz askama-58e02a4fb6f6d58ff68d18f24abcfc8cab53f7be.tar.bz2 askama-58e02a4fb6f6d58ff68d18f24abcfc8cab53f7be.zip |
derive: Make Config `'static`
The configuration is made `'static`, because `toml` and `toml_edit` both
needs to implement serde's `DeserializeOwned` by now. We allocate the
strings once per template, so it is very unlikely that this change will
have any measurable impact, neither in compile time nor RAM usage.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions