Skip to content

Commit 7e82061

Browse files
Update data-redaction.md (#48003)
1 parent fffd985 commit 7e82061

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

docs/core/extensions/data-redaction.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ Include this section in your JSON config file:
141141
- Different key IDs mean the values are unrelated and can't be used for correlation.
142142

143143
> [!NOTE]
144-
> The <xref:Microsoft.Extensions.Compliance.Redaction.HmacRedactor> is still experimental, so the preceding methods will cause the `EXTEXP0002` warningm indicating it's not yet stable.
144+
> The <xref:Microsoft.Extensions.Compliance.Redaction.HmacRedactor> is still experimental, so the preceding methods will cause the `EXTEXP0002` warning indicating it's not yet stable.
145145
> To use it, add `<NoWarn>$(NoWarn);EXTEXP0002</NoWarn>` to your project file or add `#pragma warning disable EXTEXP0002` around the calls to `SetHmacRedactor`.
146146
147147
### Configure a custom redactor
@@ -150,8 +150,6 @@ To create a custom redactor, define a subclass that inherits from <xref:Microsof
150150

151151
```csharp
152152
public sealed class StarRedactor : Redactor
153-
154-
public class StarRedactor : Redactor
155153
{
156154
private const string Stars = "****";
157155

0 commit comments

Comments
 (0)