mirror of
				https://github.com/nsnail/spectre.console.git
				synced 2025-11-04 10:35:27 +08:00 
			
		
		
		
	Update .NET 5 -> .NET 6 in docs
This commit is contained in:
		
				
					committed by
					
						
						Patrik Svensson
					
				
			
			
				
	
			
			
			
						parent
						
							73ab977f26
						
					
				
				
					commit
					a60910c15f
				
			@@ -26,7 +26,7 @@ internal static class StringBuilderExtensions
 | 
			
		||||
    public static void AppendSpan(this StringBuilder builder, ReadOnlySpan<char> span)
 | 
			
		||||
    {
 | 
			
		||||
        // NetStandard 2 lacks the override for StringBuilder to add the span. We'll need to convert the span
 | 
			
		||||
        // to a string for it, but for .NET 5.0 we'll use the override.
 | 
			
		||||
        // to a string for it, but for .NET 5.0 or newer we'll use the override.
 | 
			
		||||
#if NETSTANDARD2_0
 | 
			
		||||
        builder.Append(span.ToString());
 | 
			
		||||
#else
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user