rusqlite_migration
rusqlite_migration copied to clipboard
doc: update the example to use lazylock instead of lazy_static
LazyLock was introduced in the latest version of the Rust compiler, 1.80. It’s similar enough to lazy_static that folks still using it will figure out how to.
coverage: 94.925%. remained the same when pulling 7c2f5748fcf78128e93cf70cbbf154fc1339f5a9 on rust-180 into 098451c4af5623f6380135da49fdccf8ad899224 on master.
As expected, this fails against older rust versions. We could skip one of the examples there, but I’m afraid we will forget to test new examples as we add them. Let’s think more about this.
With #224 this becomes possible.