Skip to content

Commit

Permalink
remove explicit nothrow from globMatchEditorConfig
Browse files Browse the repository at this point in the history
The in contract may throw.
  • Loading branch information
thewilsonator authored and Geod24 committed Aug 21, 2024
1 parent 0ea0572 commit d8e43e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dfmt/globmatch_editorconfig.d
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import std.path : filenameCharCmp, isDirSeparator;
// * changes meaning to match all characters except '/'
// ** added to take over the old meaning of *
bool globMatchEditorConfig(CaseSensitive cs = CaseSensitive.osDefault, C, Range)(
Range path, const(C)[] pattern) @safe pure nothrow
Range path, const(C)[] pattern) @safe pure
if (isForwardRange!Range && isSomeChar!(ElementEncodingType!Range)
&& isSomeChar!C && is(Unqual!C == Unqual!(ElementEncodingType!Range)))
in
Expand Down

0 comments on commit d8e43e2

Please sign in to comment.