From c83dcca3d68430285903002f138418805a30b10c Mon Sep 17 00:00:00 2001 From: Artyom Pavlov Date: Thu, 20 Mar 2025 18:22:10 +0300 Subject: [PATCH] Fix typo in `compile_error!` doc link --- src/backends.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/backends.rs b/src/backends.rs index a07cea2a3..c8e7d1c38 100644 --- a/src/backends.rs +++ b/src/backends.rs @@ -173,8 +173,9 @@ cfg_if! { https://docs.rs/getrandom/#webassembly-support" ); } else { - compile_error!("target is not supported. You may need to define \ - a custom backend see: \ - https://docs.rs/getrandom/#custom-backends"); + compile_error!( + "target is not supported. You may need to define a custom backend see: \ + https://docs.rs/getrandom/#custom-backend" + ); } }