浏览代码

Fix attribute

ryuukk 2 年之前
父节点
当前提交
e1fae5b902
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      core/sys/windows/ws2_32.odin

+ 2 - 2
core/sys/windows/ws2_32.odin

@@ -211,9 +211,9 @@ foreign ws2_32 {
 	// [MS-Docs](https://learn.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock2-ntohs)
 	ntohs :: proc(netshort: c_ushort) -> c_ushort ---
 	// [MS-Docs](https://learn.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock2-htonl)
-	@(deprecated("Use endian specific integers instead, https://odin-lang.org/docs/overview/#basic-types"))
+	@(deprecated="Use endian specific integers instead, https://odin-lang.org/docs/overview/#basic-types")
 	htonl :: proc(hostlong: c_ulong) -> c_ulong ---
 	// [MS-Docs](https://learn.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock2-htons)
-	@(deprecated("Use endian specific integers instead, https://odin-lang.org/docs/overview/#basic-types"))
+	@(deprecated="Use endian specific integers instead, https://odin-lang.org/docs/overview/#basic-types")
 	htons :: proc(hostshort: c_ushort) -> c_ushort ---
 }