From 82285192fcfcf944434f7886b8ca314a7dc29266 Mon Sep 17 00:00:00 2001
From: TrapinchO <67415128+TrapinchO@users.noreply.github.com>
Date: Wed, 3 Apr 2024 23:47:59 +0200
Subject: [PATCH] ACTUALLY fixed it
because cargo make copies lib.rs into readme, not the other way
---
README.md | 25 +++++++++++++++----------
src/lib.rs | 25 +++++++++++++++----------
2 files changed, 30 insertions(+), 20 deletions(-)
diff --git a/README.md b/README.md
index fe69ce2..c019259 100644
--- a/README.md
+++ b/README.md
@@ -162,17 +162,22 @@ And this is the output you'll get if you run this program:
+Begin snippet for bad_file.rs starting
+at line 2, column 3
+\
+snippet line 1: source
+
+\
+snippet line 2: text
+ highlight starting at line 1, column 3: This bit here
+\
+snippet line 3: here
+\
+diagnostic help: try doing it better next time?">
### Using
diff --git a/src/lib.rs b/src/lib.rs
index eee1b9a..855872a 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -161,17 +161,22 @@
//!
+//! Begin snippet for bad_file.rs starting
+//! at line 2, column 3
+//! \
+//! snippet line 1: source
+//!
+//! \
+//! snippet line 2: text
+//! highlight starting at line 1, column 3: This bit here
+//! \
+//! snippet line 3: here
+//! \
+//! diagnostic help: try doing it better next time?">
//!
//! ## Using
//!