Rust Devblog 261 Link

fn main() -> Result<()> let re = Regex::new(r"\d+")?; println!("Found numbers: :?", re.find_all("a1 b2 c3")); Ok(())

if n.is_multiple_of(7) ...

if n % 7 == 0 ...

#!/usr/bin/env cargo-script //! ```cargo //! [dependencies] //! regex = "1.10" //! anyhow = "1.0" //! ``` use regex::Regex; use anyhow::Result; rust devblog 261

error: This usage is invalid --> src/main.rs:3:1 | 3 | my_macro!(bar); | ^^^^^^^^^^^^^^ help: Try using `foo` instead of `bar` Use span methods to point exactly at the problematic token. 2. Lint stability: #[stable] for lints What’s new: Lints can now be marked stable, meaning they won’t change behavior without an edition bump. fn main() -&gt; Result&lt;()&gt; let re = Regex::new(r"\d+")

Temporarily building an older crate that declares rust-version = "1.80" while you’re on 1.75 . fn main() -&gt

Working...
X