From a23455a73799670d31f7bfaeebf12ccd793a1391 Mon Sep 17 00:00:00 2001
From: fatedier <fatedier@gmail.com>
Date: Thu, 17 Apr 2025 01:34:14 +0800
Subject: [PATCH] update feature gates doc (#4755)

---
 README.md          | 4 +---
 doc/virtual_net.md | 4 +---
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/README.md b/README.md
index e604d5af..25537220 100644
--- a/README.md
+++ b/README.md
@@ -1283,9 +1283,7 @@ frp supports feature gates to enable or disable experimental features. This allo
 To enable an experimental feature, add the feature gate to your configuration:
 
 ```toml
-featureGates = {
-  VirtualNet = true
-}
+featureGates = { VirtualNet = true }
 ```
 
 ### Feature Lifecycle
diff --git a/doc/virtual_net.md b/doc/virtual_net.md
index 62653e9f..6f135dfc 100644
--- a/doc/virtual_net.md
+++ b/doc/virtual_net.md
@@ -49,9 +49,7 @@ type = "virtual_net"
 # frpc.toml (client side)
 serverAddr = "x.x.x.x"
 serverPort = 7000
-featureGates = {
-  VirtualNet = true
-}
+featureGates = { VirtualNet = true }
 
 # Configure the virtual network interface
 virtualNet.address = "100.86.0.2/24"