From 39e54a508b533b1cd2892b094d3e1066cfa465f1 Mon Sep 17 00:00:00 2001 From: Ben <89769190+benwalksaway@users.noreply.github.com> Date: Thu, 9 Jun 2022 09:56:58 +0200 Subject: [PATCH] os: correct description of windows_volume function (#14726) --- vlib/os/filepath_windows.v | 1 - 1 file changed, 1 deletion(-) diff --git a/vlib/os/filepath_windows.v b/vlib/os/filepath_windows.v index 35f32123cd..776c8f3bcb 100644 --- a/vlib/os/filepath_windows.v +++ b/vlib/os/filepath_windows.v @@ -2,7 +2,6 @@ module os // windows_volume returns the volume name from the given `path` on a Windows system. // An empty string is returned if no Windows volume is present. -// NOTE: An error is returned if the current operating system is not Windows. // Examples (on a Windows system): // ```v // assert os.windows_volume(r'C:\path\to\file.v') == 'C:'