From 0799e9856220cde895858ac7ae90ecf66e0b19f2 Mon Sep 17 00:00:00 2001 From: Ali Chraghi <63465728+alichraghi@users.noreply.github.com> Date: Wed, 21 Sep 2022 15:27:26 +0430 Subject: [PATCH] std: update NativeTargetInfo.detect doc comments `detect` doesn't take allocator anymore --- lib/std/zig/system/NativeTargetInfo.zig | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/std/zig/system/NativeTargetInfo.zig b/lib/std/zig/system/NativeTargetInfo.zig index 73f76b11b7..7a31dfa44f 100644 --- a/lib/std/zig/system/NativeTargetInfo.zig +++ b/lib/std/zig/system/NativeTargetInfo.zig @@ -35,8 +35,6 @@ pub const DetectError = error{ /// natively, which should be standard or default, and which are provided explicitly, this function /// resolves the native components by detecting the native system, and then resolves standard/default parts /// relative to that. -/// Any resources this function allocates are released before returning, and so there is no -/// deinitialization method. pub fn detect(cross_target: CrossTarget) DetectError!NativeTargetInfo { var os = cross_target.getOsTag().defaultVersionRange(cross_target.getCpuArch()); if (cross_target.os_tag == null) {