os: correct description of windows_volume function (#14726)

Ben 2022-06-09 09:56:58 +02:00 committed by Chewing_Bever
parent 086d1ded18
commit 824c7e42f3
Signed by: Jef Roosens
GPG Key ID: B75D4F293C7052DB
1 changed files with 0 additions and 1 deletions

View File

@ -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:'