rusqlite_migration icon indicating copy to clipboard operation
rusqlite_migration copied to clipboard

doc: update the example to use lazylock instead of lazy_static

Open cljoly opened this issue 1 year ago • 2 comments

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.

cljoly avatar Jul 28 '24 19:07 cljoly

Coverage Status

coverage: 94.925%. remained the same when pulling 7c2f5748fcf78128e93cf70cbbf154fc1339f5a9 on rust-180 into 098451c4af5623f6380135da49fdccf8ad899224 on master.

coveralls avatar Jul 28 '24 19:07 coveralls

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.

cljoly avatar Jul 28 '24 19:07 cljoly

With #224 this becomes possible.

cljoly avatar Jan 22 '25 07:01 cljoly