From ca7b93c7904b2881b6078de39536eb0f0fb9fedd Mon Sep 17 00:00:00 2001
From: Chris Wong <lambda.fairy@gmail.com>
Date: Sun, 16 Apr 2023 17:11:06 +1000
Subject: [PATCH] Update docs to Rust 2021 (#376)

---
 docs/Cargo.toml    | 2 +-
 doctest/Cargo.toml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/Cargo.toml b/docs/Cargo.toml
index 54b4a78..4fb463d 100644
--- a/docs/Cargo.toml
+++ b/docs/Cargo.toml
@@ -8,7 +8,7 @@ license = "CC-BY-SA-4.0"
 repository = "https://github.com/lambda-fairy/maud"
 description = "Documentation for Maud."
 
-edition = "2018"
+edition = "2021"
 
 [dependencies]
 comrak = { version = "*", default-features = false }
diff --git a/doctest/Cargo.toml b/doctest/Cargo.toml
index c55afcd..35df0a4 100644
--- a/doctest/Cargo.toml
+++ b/doctest/Cargo.toml
@@ -2,7 +2,7 @@
 name = "doctest"
 version = "0.1.0"
 authors = ["Chris Wong <lambda.fairy@gmail.com>"]
-edition = "2018"
+edition = "2021"
 
 [dependencies]
 actix-web = { version = "4.0.0-rc.2", default-features = false, features = ["macros"] }